On Fri, Jun 03, 2016 at 10:05:31AM -0400, Mike Bayer wrote: > op.get_bind().name should do it
Alas, I have already tried that: if op.get_bind().name == 'postgresql': AttributeError: 'Connection' object has no attribute 'name' Michal -- 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.
signature.asc
Description: Digital signature