> On Monday, August 22, 2016 at 11:12:11 AM UTC+2, Piotr Dobrogost wrote: > > (...) > Is there a way to hold off this check until after I map this class like this > > my_table = sa.Table("my_table", meta.metadata, autoload=True, autoload_with=engine) > orm.mapper(MyClass, my_table) > > ?
It appears that what I really wanted is a way to use declarative base with autoload=True. I found "SQLAlchemy declarative syntax with autoload (reflection) in Pylons" (http://stackoverflow.com/q/4526498/95735) which should solve my problem. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.