summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/mysql/mysqldb.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-03-18 18:57:13 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-03-18 18:57:13 -0400
commitcd076470baf2fce0eebf5853e3145d96a9d48378 (patch)
treef060277c2bcf5acd2718dad2332bd0ae683489b0 /lib/sqlalchemy/dialects/mysql/mysqldb.py
parent138293c246fbf8c6693044a89fe788d0d0446113 (diff)
downloadsqlalchemy-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