[sqlalchemy] Re: 0.5: Could not determine join condition - Bug?

2009-01-12 Thread Michael Bayer
no bug in contains_column: from sqlalchemy import * m = MetaData() table = Table('t2', m, Column('asl_id', Integer, ForeignKey('public.asl_list_view.asl_id')), schema='public' ) asl_list_view = Table('asl_list_view', m, Column('asl_id', Integer),

[sqlalchemy] Re: 0.5: Could not determine join condition - Bug?

2009-01-12 Thread _tyr_
thx for your reply. Sometimes i got obsolete objects: (Pdb) id( llm_mapper.local_table.foreign_keys[0].column ) 447124816 -obsolete column object, but semantically ok (Pdb) id( mapper.local_table.c['asl_id'] ) 448983376 -valid column object (Pdb) id(

[sqlalchemy] Re: 0.5: Could not determine join condition - Bug?

2009-01-12 Thread Michael Bayer
On Jan 12, 2009, at 8:16 PM, _t...@arcor.de wrote: thx for your reply. Sometimes i got obsolete objects: (Pdb) id( llm_mapper.local_table.foreign_keys[0].column ) 447124816 -obsolete column object, but semantically ok (Pdb) id( mapper.local_table.c['asl_id'] ) 448983376 -valid