[sqlalchemy] Missing FROM clause on a one-to-many declarative_base mapping

2009-02-05 Thread Gloria W
Hi All, I have three classes, all using the same declarative_base() instance, as follows: In a config file: global Base Base = None def initBase(): global Base if not Base: Base = declarative_base() return Base ~~~

[sqlalchemy] Missing FROM clause on a one-to-many declarative_base mapping

2009-02-05 Thread Gloria W
Hi All, I have three classes, all using the same declarative_base() instance, as follows: In a config file: global Base Base = None def initBase(): global Base if not Base: Base = declarative_base() return Base ~~~