Merge "Set cache_ok to avoid SAWarning"
This commit is contained in:
@@ -23,6 +23,7 @@ loads = jsonutils.loads
|
||||
class LongText(types.TypeDecorator):
|
||||
|
||||
impl = types.Text
|
||||
cache_ok = True
|
||||
|
||||
def load_dialect_impl(self, dialect):
|
||||
if dialect.name == 'mysql':
|
||||
@@ -45,6 +46,7 @@ class Json(LongText):
|
||||
class List(types.TypeDecorator):
|
||||
|
||||
impl = types.Text
|
||||
cache_ok = True
|
||||
|
||||
def load_dialect_impl(self, dialect):
|
||||
if dialect.name == 'mysql':
|
||||
|
Reference in New Issue
Block a user