pydantic_core._pydantic_core.PydanticSerializationUnexpectedValue: Expected 3 fields but got 2 for field Pipeline of type `Side_with_init` with value `Side_with_init(Name='Remove', With_init='TestRemoveOptional')` - serialized value may not be as expected.
Before:
pydantic_core._pydantic_core.PydanticSerializationUnexpectedValue: Unexpected Value
Also:
Fixed bug where field_namewas nullified in extra for model serializers
Standardized truncating string logic via tools function
Fix https://github.com/pydantic/pydantic/issues/10192
Now:
Before:
Also:
field_name
was nullified inextra
for model serializerstools
function