Skip to main content

prefect.server.api.concurrency_limits_v2

Functions

create_concurrency_limit_v2

Create a task run concurrency limit. For more information, see https://docs.prefect.io/v3/how-to-guides/workflows/global-concurrency-limits.

read_concurrency_limit_v2

read_all_concurrency_limits_v2

update_concurrency_limit_v2

delete_concurrency_limit_v2

bulk_increment_active_slots

bulk_increment_active_slots_with_lease

bulk_decrement_active_slots

bulk_decrement_active_slots_with_lease

renew_concurrency_lease

Classes

MinimalConcurrencyLimitResponse

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.

ConcurrencyLimitWithLeaseResponse

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.