diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-09-26 11:03:07 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-09-26 11:36:08 -0400 |
| commit | ec1700ba29f7f15859ee6576855a4d6675265640 (patch) | |
| tree | 2b2f19bbcc5906139a1b88c527d46e64eceaf4bd /setup.cfg | |
| parent | 1b0b35f254f545dbeb3ad6e2215ba24ae1c02894 (diff) | |
| download | sqlalchemy-ticket_4091.tar.gz | |
Warnings for @declared_attr.cascadingticket_4091
A warning is emitted if a subclass attempts to override an attribute
that was declared on a superclass using ``@declared_attr.cascading``
that the overridden attribute will be ignored. This use
case cannot be fully supported down to further subclasses without more
complex development efforts, so for consistency the "cascading" is
honored all the way down regardless of overriding attributes.
A warning is emitted if the ``@declared_attr.cascading`` attribute is
used with a special declarative name such as ``__tablename__``, as this
has no effect.
Ensure that documenation refers to the current inconsistency that
__tablename__ can be overridden by subclasses however
@declared_attr.cascading cannot.
Fixes: #4091
Fixes: #4092
Change-Id: I3aecdb2f99d408e404a1223f5ad86ae3c7fdf036
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions
