Re: [sqlalchemy] How to properly inherit declarative __table_args__?

2018-03-21 Thread Russell Warren
> > but the warning is safe to ignore in any case > Perfect. Thanks for the clarification and the backing detail. We'll just ignore the warning until that change comes in. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code,

Re: [sqlalchemy] How to properly inherit declarative __table_args__?

2018-03-21 Thread Mike Bayer
https://bitbucket.org/zzzeek/sqlalchemy/issues/4221/non-mapped-declared_attr-warning-gets-in but the warning is safe to ignore in any case On Wed, Mar 21, 2018 at 9:44 AM, Mike Bayer wrote: > On Wed, Mar 21, 2018 at 12:07 AM, Russell Warren wrote:

Re: [sqlalchemy] How to properly inherit declarative __table_args__?

2018-03-21 Thread Mike Bayer
On Wed, Mar 21, 2018 at 12:07 AM, Russell Warren wrote: > I'm having trouble with SQLAlchemy throwing the warning "Unmanaged access of > declarative attribute" when I try and inherit `__table_args__` with > declarative. this is not a covered use case. Looking at the commit

[sqlalchemy] How to properly inherit declarative __table_args__?

2018-03-20 Thread Russell Warren
I'm having trouble with SQLAlchemy throwing the warning "Unmanaged access of declarative attribute" when I try and inherit `__table_args__` with declarative. I've been through the docs here: