[sqlalchemy] Can not access the __table__ attribute in string-based primaryjoin parameter

2010-04-02 Thread Jack
People can use string-based primaryjoin parameter to define the sqlalchemy.orm.relation instance if people use declarative base class. But the __table__ attribute is not available. Look at this example. Chassis and Blade are sub-class of System. The sysid property shares the same name in parent

Re: [sqlalchemy] Can not access the __table__ attribute in string-based primaryjoin parameter

2010-04-02 Thread Michael Bayer
Jack wrote: People can use string-based primaryjoin parameter to define the sqlalchemy.orm.relation instance if people use declarative base class. But the __table__ attribute is not available. Look at this example. its a limited subset of behaviors which are allowed within the evaluated