That sounds like it would have to be application-specific. I don't know how SQLAlchemy can tell that you've finished adding tables and mappers.
Simon On Thu, Sep 26, 2019 at 5:13 PM Jonathan Vanasco <[email protected]> wrote: > > Thanks Mike! this is exactly what i needed. > > Follow-up question: is there a good sqlalchemy event or hook were I can > inspect all my tables once per application startup ? I've tried several > orm.events, but they did not work as i had hoped. > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sqlalchemy/8e7ad68c-034c-441a-8f3b-2b36841167a8%40googlegroups.com. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/CAFHwexfL9NGPpBKf6LdvCn%3DhsOV9PwB-rjRq7ryBocGpF1q%2BHA%40mail.gmail.com.
