[sqlalchemy] SA 0.4 orm mapped class 'instrumentation time'

2007-08-30 Thread Marco De Felice
Michael Bayer ha scritto: its most likely uncompiled mappers. the c attribute on the class is deprecated; use Table.attribute instead. ... Thanks, but it seems the Table.c.attribute has a .op() method that I can't find on Table.attribute

[sqlalchemy] SA 0.4 orm mapped class 'instrumentation time'

2007-08-29 Thread Marco De Felice
With SA 0.4beta4 if I try to access a mapped object field (Table.c.fieldname) before any query has been sent to the database the call fails with a AttributeError(key). Everything works if I do this after having issued a query. -- Example: (skip to the __main__ section) import sqlalchemy as sqa