zzzeek / test_sqlalchemy

0 stars 0 forks source link

Can't set schema using declarative extension #1007

Closed sqlalchemy-bot closed 16 years ago

sqlalchemy-bot commented 16 years ago

Issue created by Anonymous


I tried to redefine some of my classes and mappers using the declarative extension in 0.4.5, but I couldn't see how to set the schema argument on the table. At runtime, schema==None, which won't work for this application.

Looking at the code, it appears only "autoload" is honored, and other Table args are ignored.

Perhaps we could recognize a schema attribute on a declarative class?

sqlalchemy-bot commented 10 years ago

Michael Bayer (zzzeek) wrote:


Removing milestone: 0.4.xx (automated comment)

sqlalchemy-bot commented 16 years ago

Michael Bayer (zzzeek) wrote:


this is fixed by #1096

sqlalchemy-bot commented 16 years ago

Michael Bayer (zzzeek) wrote:


sure. use an explicit Table for now.

sqlalchemy-bot commented 10 years ago

Changes by Michael Bayer (zzzeek): removed "0.4.xx" milestone

sqlalchemy-bot commented 16 years ago

Changes by Michael Bayer (zzzeek): set state to "duplicate"

sqlalchemy-bot commented 16 years ago

Changes by Michael Bayer (zzzeek): set milestone to "0.4.xx"