prefect
prefect copied to clipboard
Checks for active workers when deploying
This PR adds code to check if a work pool has active workers when deploying a flow in order to not display irrelevant informantion to users with an existing setup. This check is added to the various methods for deploying a flow. closes #15513
Checklist
- [x] This pull request references any related issue by including "closes
<link to issue>
"- If no issue exists and your change is not a small fix, please create an issue first.
- [x] If this pull request adds new functionality, it includes unit tests that cover the changes
- [ ] If this pull request removes docs files, it includes redirect settings in
mint.json
. - [ ] If this pull request adds functions or classes, it includes helpful docstrings.