From 88e98c367ec1c9a99ff20e20944d03624a45dbd0 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 23 Sep 2006 21:06:42 +0000 Subject: [PATCH] mutable flag --- lib/sqlalchemy/types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/sqlalchemy/types.py b/lib/sqlalchemy/types.py index 47c9d73df8..6f4892530f 100644 --- a/lib/sqlalchemy/types.py +++ b/lib/sqlalchemy/types.py @@ -251,6 +251,8 @@ class PickleType(MutableType, TypeDecorator): return self.pickler.dumps(x, self.protocol) == self.pickler.dumps(y, self.protocol) else: return x is y + def is_mutable(self): + return self.mutable class Boolean(TypeEngine): pass -- 2.47.2