diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-03-21 09:59:46 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-03-21 13:08:19 -0400 |
| commit | 37955a52995cdbb66a9d5835c20ee58fb98ddffc (patch) | |
| tree | f39efcfeb9541bb242e512c93398765e59a6cab6 /lib/sqlalchemy/ext/declarative/base.py | |
| parent | 0fd508ad32a6f94653757a5ae10c1eae14e099fc (diff) | |
| download | sqlalchemy-37955a52995cdbb66a9d5835c20ee58fb98ddffc.tar.gz | |
Don't warn for mixin-based __table_args__, __mapper_args__ declared_attr
Removed a warning that would be emitted when calling upon
``__table_args__``, ``__mapper_args__`` as named with a ``@declared_attr``
method, when called from a non-mapped declarative mixin. Calling these
directly is documented as the approach to use when one is overidding one
of these methods on a mapped class. The warning still emits for regular
attribute names.
Change-Id: Iae7ed0bd625a2c163c910aa777cef4779128580a
Fixes: #4221
Diffstat (limited to 'lib/sqlalchemy/ext/declarative/base.py')
0 files changed, 0 insertions, 0 deletions
