Re: stack trace with key error from: alembic revision --autogenerate -m "first rev"

2015-04-20 Thread Mike Bayer
On 4/20/15 7:11 PM, Dewey Gaedcke wrote: Can someone point me to the attribute chain that would let me reach the Declarative class for a given table object?? In other words, using the args passed to this function: @event.listens_for(Column, "before_parent_attach") def attach(colObj,

Re: stack trace with key error from: alembic revision --autogenerate -m "first rev"

2015-04-20 Thread Dewey Gaedcke
Can someone point me to the attribute chain that would let me reach the Declarative class for a given table object?? In other words, using the args passed to this function: @event.listens_for(Column, "before_parent_attach") def attach(colObj, tableObj): prefix = tableObj.name[0:4] colObj