Skip to content

Commit

Permalink
Add FloatField serialization (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyczawon authored Oct 22, 2023
1 parent 6b3e37f commit b8aa507
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reactivated/serialization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,8 @@ def __call__(self, value: Any, schema: Thing) -> JSON:

register(models.DecimalField)(str)

register(models.FloatField)(float)


@register(fields._EnumField)
class EnumFieldType:
Expand Down

0 comments on commit b8aa507

Please sign in to comment.