Re: [sqlalchemy] Classes with the same name in different namespaces.

2011-06-14 Thread Michael Bayer
this is fixed in r462bd17d7ea2 however you'll want to use __mapper_args__ and not "mapper_args" in your classes, also the issue only exists if you didn't specify "inherits" yourself, so since you're already explicitly referencing the superclass you can work around easily by saying: __mapper_arg

[sqlalchemy] Classes with the same name in different namespaces.

2011-06-14 Thread Filip Zyzniewski - Tefnet
Hi, I am having a problem with declarative and inheritance from a class which has the same name, but different namespace (module): ===> names.py <== # Fails with Python-2.7.1 and SQLAlchemy-0.7.1 # import sqlalchemy import sqlalchemy.ext.declarative Base = s