prefect.cli.concurrency_limit

Command line interface for working with concurrency limits.

Functions

create

create(tag: str, concurrency_limit: int)
Create a concurrency limit against a tag. This limit controls how many task runs with that tag may simultaneously be in a Running state.

inspect

inspect(tag: str, output: Optional[str] = typer.Option(None, '--output', '-o', help='Specify an output format. Currently supports: json'))
View details about a concurrency limit. active_slots shows a list of TaskRun IDs which are currently using a concurrency slot.

ls

ls(limit: int = 15, offset: int = 0)
View all concurrency limits.

reset

reset(tag: str)
Resets the concurrency limit slots set on the specified tag.

delete

delete(tag: str)
Delete the concurrency limit set on the specified tag.