Set cache_ok to avoid further SAWarning

This change fixes the one remaining usage without the flag which was
missed by the previous attempt[1].

[1] 14d2d859ef

Change-Id: Ic0b34b11d669851e47cae670f5299f934f396257
This commit is contained in:
Takashi Kajinami 2022-11-01 15:27:24 +09:00
parent f71308319a
commit ddbf9db52e
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ class LongText(types.TypeDecorator):
class Json(LongText):
cache_ok = True
def process_bind_param(self, value, dialect):
return dumps(value)