class documentation

Default payload converter compatible with other Temporal SDKs.

This handles None, bytes, all protobuf message types, and any type that json.dump accepts. A singleton instance of this is available at PayloadConverter.default.

Method __init__ Create a default payload converter.
Class Variable default_encoding_payload_converters Default set of encoding payload converters the default payload converter uses.

Inherited from CompositePayloadConverter:

Method from_payloads Decode values trying each converter.
Method to_payloads Encode values trying each converter.
Instance Variable converters List of payload converters to delegate to, in order.

Inherited from PayloadConverter (via 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)

Create a default payload converter.

default_encoding_payload_converters: Tuple[EncodingPayloadConverter, ...] = (source)

Default set of encoding payload converters the default payload converter uses.