diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-03-18 18:57:13 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2015-03-18 18:57:13 -0400 |
commit | cd076470baf2fce0eebf5853e3145d96a9d48378 (patch) | |
tree | f060277c2bcf5acd2718dad2332bd0ae683489b0 /lib/sqlalchemy/dialects/mysql/mysqldb.py | |
parent | 138293c246fbf8c6693044a89fe788d0d0446113 (diff) | |
download | sqlalchemy-cd076470baf2fce0eebf5853e3145d96a9d48378.tar.gz |
- 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
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/mysqldb.py')
0 files changed, 0 insertions, 0 deletions