Join Slack
Powered by
Hey is there a way to create a WorkPool in code? r...
# ask-community
j
Joshua Greenhalgh
06/07/2023, 1:38 PM
Hey is there a way to create a WorkPool in code? rather than using the CLI?
✅ 1
j
Jake Kaplan
06/07/2023, 1:43 PM
Hey, there isn't a python object interface but you can use the prefect client
https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/work_pool.py#L82-L90
j
Joshua Greenhalgh
06/07/2023, 1:45 PM
cool thanks I thought that might be the way to go about it!
🙌 1
Open in Slack
Previous
Next