module documentation

Worker using SDK Core. (unstable)

Nothing in this module should be considered stable. The API may change.

Class FixedSizeSlotSupplier Python representation of the Rust struct for a fixed-size slot supplier.
Class ResourceBasedSlotSupplier Python representation of the Rust struct for a resource-based slot supplier.
Class ResourceBasedTunerConfig Python representation of the Rust struct for configuring a resource-based tuner.
Class TunerHolder Python representation of the Rust struct for a tuner holder.
Class Worker SDK Core worker.
Class WorkerConfig Python representation of the Rust struct for configuring a worker.
Async Function decode_activation Decode the given activation with the codec.
Async Function encode_completion Recursively encode the given completion with the codec.
Type Alias PayloadContainer Undocumented
Type Alias SlotSupplier Undocumented
Async Function _apply_to_payload Apply API payload callback to payload.
Async Function _apply_to_payloads Apply API payload callback to payloads.
Async Function _decode_payload Decode a payload with the given codec.
Async Function _decode_payloads Decode payloads with the given codec.
Async Function _encode_payload Decode a payload with the given codec.
Async Function _encode_payloads Encode payloads with the given codec.

Decode the given activation with the codec.

Recursively encode the given completion with the codec.

SlotSupplier: TypeAlias = (source)

Apply API payload callback to payload.

Apply API payload callback to payloads.

Decode a payload with the given codec.

async def _decode_payloads(payloads: PayloadContainer, codec: temporalio.converter.PayloadCodec): (source)

Decode payloads with the given codec.

Decode a payload with the given codec.

async def _encode_payloads(payloads: PayloadContainer, codec: temporalio.converter.PayloadCodec): (source)

Encode payloads with the given codec.