[sqlalchemy] Having trouble using classes in different modules with the same name with declarative setup.

2012-08-21 Thread jers
To give an example I have I have two classes that have the same name, but belong to different modules. there is an accounts.py that has a class Account(Base), and a testing.py that has a class Account(Base). When I try to set this up I get warnings: The classname 'Account' is already in the

Re: [sqlalchemy] Having trouble using classes in different modules with the same name with declarative setup.

2012-08-21 Thread jers
Good to hear, thanks! On Tuesday, August 21, 2012 5:19:49 PM UTC-4, Michael Bayer wrote: On Aug 21, 2012, at 4:36 PM, jers wrote: To give an example I have I have two classes that have the same name, but belong to different modules. there is an accounts.py that has a class Account(Base