[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - Loosened some restrictions that were added to ``@
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2015-03-18 22:57:54
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/cd076470baf2/ Changeset: cd076470baf2 Branch: None User: zzzeek Date: 2015-03-18 22:57:13+00:00 Summary: - Loosened some restrictions that were added to ``@declared_attr`` objects, such that they were prevented from being called outside of the declarative process; this is related to the enhancements of #3150 which allow ``@declared_attr`` to return a value that is cached based on the current class as it's being configured. The exception raise has been removed, and the behavior changed so that outside of the declarative process, the function decorated by ``@declared_attr`` is called every time just like a regular ``@property``, without using any caching, as none is available at this stage. fixes #3331 Affected #: 3 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. |