fix(deprecations): fixed sqlalchemy warning about non-cachable JsonObject
This commit is contained in:
parent
5ff53d7f74
commit
0435bd0e5a
1 changed files with 1 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ class JSONEncodedObj(sqlalchemy.types.TypeDecorator):
|
|||
impl = UnicodeText
|
||||
safe = True
|
||||
enforce_str = True
|
||||
cache_ok = True
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.default = kwargs.pop('default', None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue