Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Jan 16, 2025
1 parent 6ab3c34 commit 612ef65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ def _decode(self, obj, context, path):
return {self._enum_class[k]: v for k, v in obj.items() if k != "_flagsenum" and v is True}

def _encode(self, obj, context, path):
return obj
return {k.name: v for k, v in obj.items()}

0 comments on commit 612ef65

Please sign in to comment.