Is it possible to assign work queues to deployment...
# prefect-cloud
m
Is it possible to assign work queues to deployment runs when starting the flow run, vs when creating the deployment?
1
j
yes you can pass a work queue name when invoking a deployment:
Copy code
from prefect.deployments import run_deployment
    
    run_deployment(
        ...
        work_queue_name="..."
    )
m
Sweet! Would that override what the deployment was created with? I suppose I can test that out...
j
It won't override the entire deployment, it will just use that work queue for that single run
m
perf, thanks
🙌 1