summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-11-28 12:44:56 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2011-11-28 12:44:56 -0500
commitbeef2b5aa811efd42a111c87a4308d6584c78b97 (patch)
tree05812d93880a1c7e1fca897cd6be9dfb43b854c3 /lib/sqlalchemy
parent3e98d31d99c6f6d6f7df20607e43602b356094ab (diff)
downloadsqlalchemy-beef2b5aa811efd42a111c87a4308d6584c78b97.tar.gz
- [bug] Fixed bug whereby TypeDecorator would
return a stale value for _type_affinity, when using a TypeDecorator that "switches" types, like the CHAR/UUID type.
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/types.py b/lib/sqlalchemy/types.py
index a4714d3d8..79799da8f 100644
--- a/lib/sqlalchemy/types.py
+++ b/lib/sqlalchemy/types.py
@@ -490,7 +490,7 @@ class TypeDecorator(TypeEngine):
tt.impl = typedesc
return tt
- @util.memoized_property
+ @property
def _type_affinity(self):
return self.impl._type_affinity