from myapp.mymodel import Base target_metadata = Base.metadata http://alembic.zzzcomputing.com/en/latest/autogenerate.html
What is the preferred way to access myapp? As far as I can tell it's not normally available using this structure <http://alembic.zzzcomputing.com/en/latest/tutorial.html#the-migration-environment> (doing the above gives ImportError), without altering sys.path. Is it expected that "myapp" is installed? Or another approach? -- You received this message because you are subscribed to the Google Groups "sqlalchemy-alembic" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy-alembic+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.