The page you navigated to does not exist, so we brought you to the closest page to it.
flytekit.models.concurrency
def enum_to_string(
val,
)
| Parameter |
Type |
Description |
val |
|
|
Defines the concurrency policy for a launch plan.
class ConcurrencyPolicy(
max_concurrency: int,
behavior: flytekit.models.concurrency.ConcurrencyLimitBehavior,
)
| Parameter |
Type |
Description |
max_concurrency |
int |
|
behavior |
flytekit.models.concurrency.ConcurrencyLimitBehavior |
|
def from_flyte_idl(
pb2_object: flyteidl.admin.launch_plan_pb2.ConcurrencyPolicy,
) -> ConcurrencyPolicy
| Parameter |
Type |
Description |
pb2_object |
flyteidl.admin.launch_plan_pb2.ConcurrencyPolicy |
|
def serialize_to_string()
:rtype: Text
:rtype: flyteidl.admin.launch_plan_pb2.ConcurrencyPolicy
| Property |
Type |
Description |
behavior |
|
Policy behavior when concurrency limit is reached.
|
is_empty |
|
|
max_concurrency |
|
Maximum number of concurrent workflows allowed.
|