-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Pydantic broke JSON serialization of custom types (pydantic/pydantic#12348 (comment)) in release 2.12 (pydantic/pydantic#12348). Don't know if there plans to be a backwards-compatible fix.
Still investigating.
Reproduction
See logs such as here
The error commonly looks like
pydantic_core._pydantic_core.PydanticSerializationError: Unable to serialize unknown type: <class 'pint.Quantity'>
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working