Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create worker blocklist and add BlockWorker #324

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Conversation

desertaxle
Copy link
Member

Prevents the BlockWorker added in PrefectHQ/prefect#11180 from being added to the registry. This will ensure it doesn't show as an option in the UI or CLI.

@desertaxle desertaxle requested a review from a team as a code owner December 7, 2023 02:19
# `block` work pool types should only be created via
# `Infrastructure.publish_as_work_pool`
# See https://github.com/PrefectHQ/prefect/pull/11180 for more details
WORKERS_BLOCKLIST = {"BaseWorker", "BlockWorker"}
Copy link
Collaborator

@zzstoatzz zzstoatzz Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

@zzstoatzz zzstoatzz merged commit 31c97b2 into main Dec 8, 2023
3 checks passed
@zzstoatzz zzstoatzz deleted the add-worker-blocklist branch December 8, 2023 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants