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

Make typing on UniqueOpts.by_state true JobState enums instead of strings #32

Merged
merged 1 commit into from
Jul 7, 2024

Conversation

brandur
Copy link
Contributor

@brandur brandur commented Jul 7, 2024

Make the typing on UniqueOpts.by_state strong by making it a list of
JobState enums instead of a list of strings. Change usages in the test
suite over to enums instead of strings.

… strings

Make the typing on `UniqueOpts.by_state` strong by making it a list of
`JobState` enums instead of a list of strings. Change usages in the test
suite over to enums instead of strings.
@brandur brandur merged commit efe6997 into master Jul 7, 2024
4 checks passed
@brandur brandur deleted the brandur-unique-job-state branch July 7, 2024 00:33
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.

1 participant