use op.get_bind()
http://alembic.readthedocs.org/en/latest/ops.html#alembic.operations.Operations.get_bind
On Jan 31, 2014, at 11:29 PM, Ryan Eberhardt wrote:
> Does anyone have any advice for getting the connection outside of env.py?
>
> Thanks,
> Ryan
>
> On Monday, January 27, 2014 8:30:4
Does anyone have any advice for getting the connection outside of env.py?
Thanks,
Ryan
On Monday, January 27, 2014 8:30:49 AM UTC-6, Ryan Eberhardt wrote:
>
> Wow, thanks for such a fast response! I used the env.py script from here:
> https://github.com/inklesspen/pyramid_alembic_mako/blob/maste