Skip to main content

prefect.client.schemas.worker_channel

Shared v1 worker-channel protocol contract.

Functions

validate_worker_channel_frame

select_worker_channel_version

Classes

WorkerChannelCloseReason

WorkerChannelClosePolicy

Methods:

model_validate_list

reset_fields

Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.

WorkerChannelProtocolError

WorkerChannelContract

Methods:

model_validate_list

reset_fields

Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.

WorkerChannelAuthRequest

WorkerChannelAuthSuccess

WorkerChannelFrame

WorkerHelloPayload

Methods:

default_cleanup_concurrency

required_capabilities_are_requested

WorkerHelloFrame

ResolvedWorkQueue

WorkPoolSnapshot

Methods:

helpful_error_for_missing_default_queue_id

is_managed_pool

is_push_pool

WorkPoolSnapshotPayload

WorkerReadyPayload

Methods:

validate_capability_decision

WorkerReadyFrame

WorkerHeartbeatPayload

WorkerHeartbeatFrame

WorkPoolSnapshotFrame

CancellingTimeoutTeardownTarget

Methods:

model_validate_list

reset_fields

Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.

PendingClaimTeardownTarget

Methods:

model_validate_list

reset_fields

Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.

CancellingTimeoutCleanupMessagePayload

PendingClaimCleanupMessagePayload

CleanupMessageFrame

CleanupOperationPayload

CleanupReleasePayload

CleanupAckFrame

CleanupReleaseFrame

CleanupRenewFrame

CleanupOperationResultPayload

Methods:

validate_result_contract

CleanupOperationResultFrame