class documentation
class SlotReserveContext(Protocol): (source)
Context for reserving a slot from a CustomSlotSupplier.
| Class Variable | is |
True iff this is a reservation for a sticky poll for a workflow task. |
| Class Variable | slot |
The type of slot trying to be reserved. Always one of "workflow", "activity", or "local-activity". |
| Class Variable | task |
The name of the task queue for which this reservation request is associated. |
| Class Variable | worker |
The build id of the worker that is requesting the reservation. |
| Class Variable | worker |
The deployment version of the worker that is requesting the reservation, if any. |
| Class Variable | worker |
The identity of the worker that is requesting the reservation. |
The build id of the worker that is requesting the reservation.
Warning
Deprecated, use worker_deployment_version instead.