Is it not possible to create work pools with the p...
# ask-community
a
Is it not possible to create work pools with the python SDK? I want to create and manage an ECS work pool via python but I only see the ability to create a new work queue inside an existing work pool: https://docs.prefect.io/2.13.8/api-ref/prefect/cli/work_queue/
https://docs.prefect.io/2.13.8/concepts/work-pools/#work-pool-configuration it says you can create work pools via the python SDK in this documentation but then it conveniently shows no examples of how to do so
j
Hi Alec. You cannot create work pools via the Python SDK, but you can create work pools via Python code if you’re interacting directly with the REST API. Here’s the Prefect server REST API reference with examples of creating and working with work pools. And the Prefect Cloud reference is here. 🙂