There seems to be surprisingly little information about how to load a table manually if you set the autoload flag to False. There is a fairly new question on StackOverflow that has not been answered properly either: https://stackoverflow.com/q/43042044/998919. Is there a function (e.g. ".load()") that can be called to load a table that has not been loaded yet?
A use-case for this is the following: You have two sets of tables: A and B. A: Depends on no-one B: Cannot be created with SQLAlchemy (e.g. PostgreSQL views) and depend on A. If you then want to reflect B, we can call those a set of objects C. C is clearly dependent on B. However, when A is created (using e.g. create_all()) SQLAlchemy first loads C. If autoload is true on C, the program will error out. If you could instead choose to load C later, this scenario could still work out. Any thoughts? -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- 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.