From e4147f78f1dc51f76f029b56f6d4ab097e06bc33 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Mon, 29 Jan 2024 10:29:39 +0100 Subject: [PATCH] Add explicit cache_ok attribute to JSONType subclass As for the other JSONType subclasses this is safe. --- lib/galaxy/model/custom_types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/galaxy/model/custom_types.py b/lib/galaxy/model/custom_types.py index 8152802adff8..3db767af281a 100644 --- a/lib/galaxy/model/custom_types.py +++ b/lib/galaxy/model/custom_types.py @@ -117,6 +117,8 @@ def compare_values(self, x, y): class DoubleEncodedJsonType(JSONType): + cache_ok = True + def process_result_value(self, value, dialect): value = super().process_result_value(value, dialect) if isinstance(value, str):