diff --git a/common/utils/extend_json_encoder.py b/common/utils/extend_json_encoder.py index faa1ea5d3f..f924dac58a 100644 --- a/common/utils/extend_json_encoder.py +++ b/common/utils/extend_json_encoder.py @@ -36,6 +36,11 @@ def _(o): return str(o) +@convert.register(set) +def _(o): + return list(o) + + class ExtendJSONEncoder(json.JSONEncoder): def default(self, obj): try: