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. 🙂