class documentation

Pydantic payload converter pinned to exclude_unset=True.

LangChain request/response types (and DeepAgentState) are deeply nested with many Optional[...] = None fields. Shipping every unset default inflates payloads several-fold and some peers reject the explicit nulls on round-trip, so we exclude unset fields by convention.

Method __init__ Construct the converter with exclude_unset serialization.

Inherited from CompositePayloadConverter (via PydanticPayloadConverter):

Method from_payloads Decode values trying each converter.
Method get_converters_with_context Return converter instances with context set.
Method to_payloads Encode values trying each converter.
Method with_context Return a new instance with context set on the component converters.
Instance Variable converters List of payload converters to delegate to, in order.
Method _set_converters Undocumented
Property _any_converter_takes_context Undocumented

Inherited from PayloadConverter (via PydanticPayloadConverter, CompositePayloadConverter):

Method from_payload Convert a single payload to a value.
Method from_payloads_wrapper from_payloads for the temporalio.api.common.v1.Payloads wrapper.
Method to_payload Convert a single value to a payload.
Method to_payloads_wrapper to_payloads for the temporalio.api.common.v1.Payloads wrapper.
Class Variable default Default payload converter.
def __init__(self): (source) ΒΆ

Construct the converter with exclude_unset serialization.