diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-11-28 12:44:56 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-11-28 12:44:56 -0500 |
| commit | beef2b5aa811efd42a111c87a4308d6584c78b97 (patch) | |
| tree | 05812d93880a1c7e1fca897cd6be9dfb43b854c3 /lib/sqlalchemy | |
| parent | 3e98d31d99c6f6d6f7df20607e43602b356094ab (diff) | |
| download | sqlalchemy-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.py | 2 |
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 |
