WIP: Refactor Aurora (3.0.0) #29

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

View file

@ -11,7 +11,7 @@ class JSONEncoder(json.JSONEncoder):
if isinstance(o, timedelta):
return str(o)
if isinstance(o, AuroraBaseModel):
return o.model_dump()
return o.to_json()
return super().default(o)