Skip to content

Commit

Permalink
Add explicit cache_ok attribute to JSONType subclass
Browse files Browse the repository at this point in the history
As for the other JSONType subclasses this is safe.
  • Loading branch information
mvdbeek committed Jan 29, 2024
1 parent 87d42a1 commit e4147f7
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 e4147f7

Please sign in to comment.