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 PollerBehaviorAutoscaling Python representation of the Rust struct for autoscaling poller behavior.
Class PollerBehaviorSimpleMaximum Python representation of the Rust struct for simple poller behavior.
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.
Class WorkerDeploymentOptions Python representation of the Rust struct for configuring a worker deployment options.
Class WorkerDeploymentVersion Python representation of the Rust struct for configuring a worker deployment version.
Class WorkerVersioningStrategyLegacyBuildIdBased Python representation of the Rust struct for configuring a worker versioning strategy legacy Build ID-based.
Class WorkerVersioningStrategyNone Python representation of the Rust struct for configuring a worker versioning strategy None.
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 PollerBehavior Undocumented
Type Alias SlotSupplier Undocumented
Type Alias WorkerVersioningStrategy 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.

PollerBehavior: TypeAlias = (source)
SlotSupplier: TypeAlias = (source)

Undocumented

Value
FixedSizeSlotSupplier | ResourceBasedSlotSupplier | BridgeCustomSlotSupplier

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.