[Sqlalchemy-tickets] [sqlalchemy] #1455: relations/dynamic loaders secondary argument not accepting
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2009-06-26 01:13:00
|
#1455: relations/dynamic loaders secondary argument not accepting classes --------------------+------------------------------------------------------- Reporter: guest | Owner: zzzeek Type: defect | Status: new Priority: high | Milestone: Component: orm | Severity: no triage selected yet Keywords: | Status_field: awaiting triage --------------------+------------------------------------------------------- The secondary/intermediary table in relations cannot be specified using a declarative class name, instead the underlying table must be given: class.__table__ This syntax is undesirable, and is avoided in many other places, why not here? Error raised is: AttributeError: '[class name]' object has no attribute 'foreign_keys' -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/1455> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |