Skip to content

Commit

Permalink
Merge pull request galaxyproject#17376 from mvdbeek/cache_ok
Browse files Browse the repository at this point in the history
Add explicit cache_ok attribute to JSONType subclass
  • Loading branch information
nsoranzo authored Jan 29, 2024
2 parents 87d42a1 + e4147f7 commit f81cc1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/galaxy/model/custom_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f81cc1b

Please sign in to comment.