[Sqlalchemy-commits] commit/sqlalchemy: _diana_: Allow reuse of hybrid_property across subclasses
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-03-21 20:41:35
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/caeb274e287f/ Changeset: caeb274e287f Branch: master User: _diana_ Date: 2017-03-21 19:42:42+00:00 Summary: Allow reuse of hybrid_property across subclasses The :class:`sqlalchemy.ext.hybrid.hybrid_property` class now supports calling mutators like ``@setter``, ``@expression`` etc. multiple times across subclasses, and now provides a ``@getter`` mutator, so that a particular hybrid can be repurposed across subclasses or other classes. This now matches the behavior of ``@property`` in standard Python. Co-authored-by: Mike Bayer <mi...@zz...> Fixes: #3911 Fixes: #3912 Change-Id: Iff033d8ccaae20ded9289cbfa789c376759381f5 Affected #: 4 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. |