thats a strange error there and not sure if that's cx_oracle being weird,
or some doubling of errors is occurring when the text() statement fails.
I don't know how to declare variables and then execute SQL against them in
a single DBAPI execute() call.
we do have an "out param" test which doesn't go through any of that
trouble, it looks like:
result = testing.db.execute(text("begin foo(:x_in, :x_out, :y_out,
:z_out); end;",
bindparams=[bindparam('x_in', Numeric), outparam('x_out',
Integer), outparam('y_out', Numeric), outparam('z_out',
String)]), x_in=5)
assert result.out_parameters == {'x_out':10, 'y_out':75,
'z_out':None}, result.out_parameters
assert isinstance(result.out_parameters['x_out'], int)
thats one thing to try, otherwise your next stop would be the cx_oracle
mailing list.
>
> >
>