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

DeploymentFilterTags should have an _any option #16398

Open
brunifrancesco opened this issue Dec 16, 2024 · 0 comments · May be fixed by #16400
Open

DeploymentFilterTags should have an _any option #16398

brunifrancesco opened this issue Dec 16, 2024 · 0 comments · May be fixed by #16400
Labels
enhancement An improvement of an existing feature

Comments

@brunifrancesco
Copy link

brunifrancesco commented Dec 16, 2024

Describe the current behavior

Dear Prefect,
filtering deployments by tags is limited to all_, returning only if their tags are a superset of the list as defined in the DeploymentFilterTags class.

Describe the proposed behavior

It could be useful to have the any_ attribute in the deployment filter class as well as done in this PR.

Example Use

    any_=[
        Tags.A1,
        Tags.A2,
        Tags.A3,
    ],
)

Additional context

It would be nice to apply the AND/OR logic via UI as well as mentioned in the previous PR.

@brunifrancesco brunifrancesco added the enhancement An improvement of an existing feature label Dec 16, 2024
@brunifrancesco brunifrancesco linked a pull request Dec 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement of an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant