On Wed, 2012-11-21 at 13:05:22 +0100, Ralph Heinkel wrote:
> The latter was my favorite, but this seems to fail with
> 
> [...]
>   File 
> "/usr/local/lib/python2.7/site-packages/SQLAlchemy-0.5.8-py2.7.egg/sqlalchemy/sql/expression.py",
> line 1390, in in_
>     return self._in_impl(operators.in_op, operators.notin_op, other)
>   File 
> "/usr/local/lib/python2.7/site-packages/SQLAlchemy-0.5.8-py2.7.egg/sqlalchemy/sql/expression.py",
> line 1409, in _in_impl
>     for o in seq_or_selectable:
> TypeError: '_TextClause' object is not iterable
> 
> Any idea how to fix this?

My first guess is that you're using too old version of SQLAlchemy
(0.5.8).  I suggest to try out the latest version 0.7.9.

-- 
Audrius Kažukauskas
http://neutrino.lt/

Attachment: pgpsGOaXAu2Ds.pgp
Description: PGP signature

Reply via email to