WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit dc407c1125 - Show all commits

View file

@ -14,7 +14,8 @@ class JSONEncoder(json.JSONEncoder):
case datetime():
return int(o.timestamp())
case timedelta():
return str(o)
from ..utilities.utils import timedelta_to_string
return timedelta_to_string(o)
case AuroraBaseModel():
return o.dump()
case Type():