Skip to content

Commit

Permalink
[qa] test with no serialization of uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBldy committed Sep 25, 2023
1 parent 22f275e commit efe7096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zou/app/utils/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def serialize_value(value):
if isinstance(value, datetime.date):
return value.isoformat()
elif isinstance(value, uuid.UUID):
return str(value)
return value
elif isinstance(value, dict):
return serialize_dict(value)
elif isinstance(value, orm.collections.InstrumentedList):
Expand Down

0 comments on commit efe7096

Please sign in to comment.