Re: 'AutogenContext' object has no attribute '__getitem__'

2015-10-14 Thread Fayaz useful
Does it no longer support the autogen_context['imports'] list, like here? http://alembic.readthedocs.org/en/latest/autogenerate.html#affecting-the-rendering-of-types-themselves On Wed, Oct 14, 2015 at 6:57 PM, Mike Bayer wrote: > > > On 10/14/15 12:41 AM, Fayaz Yusuf

Re: 'AutogenContext' object has no attribute '__getitem__'

2015-10-14 Thread Mike Bayer
On 10/14/15 12:41 AM, Fayaz Yusuf Khan wrote: > Hi, > Looks like the autogen_context parameter has changed type recently. indeed it has: http://alembic.readthedocs.org/en/latest/api/autogenerate.html#alembic.autogenerate.api.AutogenContext > > I'm getting this exception: > > Traceback

'AutogenContext' object has no attribute '__getitem__'

2015-10-13 Thread Fayaz Yusuf Khan
Hi, Looks like the autogen_context parameter has changed type recently. I'm getting this exception: Traceback (most recent call last): File "/home/fayaz/Programming/weaver-env/bin/weaver", line 9, in load_entry_point('weaver==2.12.1', 'console_scripts', 'weaver')() File