max
11/15/2022, 10:32 AMprefect work-queue set-concurrency-limit?Peyton Runyan
11/15/2022, 10:55 AMsrc/prefect/cli/<base-command>. So if you you want to see how a CLI command for work queues is called, go to src/prefect/cli/work_queue.py and then look for the function set_concurrency_limitPeyton Runyan
11/15/2022, 10:55 AMmax
11/15/2022, 10:55 AMPeyton Runyan
11/15/2022, 10:55 AMasync with get_client() as client:
try:
await client.update_work_queue(
id=queue_id,
concurrency_limit=limit,
)