Re: [sqlalchemy] Re: Using TextClause in with_expression

2018-06-26 Thread Mike Bayer
On Tue, Jun 26, 2018 at 8:09 AM, Eugene Prikazchikov wrote: > Traceback: > > Traceback (most recent call last): > File "1.py", line 15, in > s.query(A).options(with_expression(A.expr, text('x'))) > File > ".venv/lib/python3.6/site-packages/sqlalchemy/orm/strategy_options.py", line >

[sqlalchemy] Re: Using TextClause in with_expression

2018-06-26 Thread Eugene Prikazchikov
Traceback: Traceback (most recent call last): File "1.py", line 15, in s.query(A).options(with_expression(A.expr, text('x'))) File ".venv/lib/python3.6/site-packages/sqlalchemy/orm/strategy_options.py", line 1438, in with_expression False, {"expression": expression}) File