Merge "Silence SAWarning caused by missing cache_ok"

This commit is contained in:
Zuul
2025-07-20 11:59:03 +00:00
committed by Gerrit Code Review

View File

@@ -27,6 +27,7 @@ class JsonEncoded(sa.TypeDecorator):
"""Represents an immutable structure as a json-encoded string."""
impl = sa.Text
cache_ok = True
def process_bind_param(self, value, dialect):
return utils.to_json_str(value)