Skip to content

Commit

Permalink
Fix Analysis (pop type) (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 authored Dec 23, 2024
1 parent ac07195 commit ee60b84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lumen/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ def serialize(self, data) -> dict[str, any]:

@classmethod
def deserialize(cls, data) -> dict[str, any]:
serialize_spec = dict(data.pop('serializer', {}))
data = dict(data)
serialize_spec = data.pop('serializer', {})
serializer = cls.from_spec(serialize_spec)
return serializer.deserialize(data)

Expand Down

0 comments on commit ee60b84

Please sign in to comment.