class documentation

class ActivityExecutionOptions: (source)

Constructor: ActivityExecutionOptions._from_proto(options)

View In Hierarchy

An activity's options as resolved by the server.

Returned by ActivityHandle.update_options and ActivityHandle.restore_original_options.

Warning

This API is experimental.

Class Variable heartbeat_timeout Maximum allowed time between heartbeats.
Class Variable priority Priority of the activity.
Class Variable retry_policy Retry policy in effect for the activity.
Class Variable schedule_to_close_timeout Total time the caller is willing to wait, including retries.
Class Variable schedule_to_start_timeout Maximum time the activity may wait to be picked up by a worker.
Class Variable start_delay Delay before the first attempt is made available for dispatch.
Class Variable start_to_close_timeout Maximum time for a single attempt.
Class Variable task_queue Task queue the activity is scheduled on.
Static Method _from_proto Undocumented
heartbeat_timeout: timedelta | None = (source)

Maximum allowed time between heartbeats.

Priority of the activity.

Retry policy in effect for the activity.

schedule_to_close_timeout: timedelta | None = (source)

Total time the caller is willing to wait, including retries.

schedule_to_start_timeout: timedelta | None = (source)

Maximum time the activity may wait to be picked up by a worker.

start_delay: timedelta | None = (source)

Delay before the first attempt is made available for dispatch.

start_to_close_timeout: timedelta | None = (source)

Maximum time for a single attempt.

task_queue: str | None = (source)

Task queue the activity is scheduled on.