[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Warn when declared_attr.cascading detected on mappe
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-06-06 21:44:26
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/4e1f5377d1c5/ Changeset: 4e1f5377d1c5 Branch: master User: zzzeek Date: 2017-06-06 21:16:58+00:00 Summary: Warn when declared_attr.cascading detected on mapped class A warning is emitted if the :attr:`.declared_attr.cascading` modifier is used with a declarative attribute that is itself declared on a class that is to be mapped, as opposed to a declarative mixin class or ``__abstract__`` class. The :attr:`.declared_attr.cascading` modifier currently only applies to mixin/abstract classes. Also add a test for @declared_attr.cascading when used on an attribute on __abstract__. Change-Id: Ib1b9dbe373e8be1cf24eadfed224a8988b3cd95d Fixes: #3847 Affected #: 5 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |