Skip to content

Commit

Permalink
Merge pull request #1131 from Nexpro/patch-1
Browse files Browse the repository at this point in the history
Update extend_json_encoder.py
  • Loading branch information
hhyo authored Aug 1, 2021
2 parents 217d753 + 63fa7f3 commit 9d49810
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions common/utils/extend_json_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9d49810

Please sign in to comment.