I couldn't lay my hands on an example of using MigrationContext(connect=<blah>) and running the results of produce_migrations(Base.metadata, mc).
I got close, I think, evaling the results of render_python_code (which failed due to spaces, but I can wrap it into a def, I guess), but I think there's got to be a better way, I'm just not seeing it. (NB: I can guarantee that the migrations will always be simple alters to add only, &c, so not using the whole infrastructure lets it be consistent, and due to the nature of the project, I'd like to make it simple) Thanks JRP -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy-alembic/7d7499f6-ce53-4aa3-97f5-20d5c25cc41en%40googlegroups.com.