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

Consider adding helper methods to AnalysisPeriod enum #2032

Open
mikewilli opened this issue Mar 12, 2024 · 0 comments
Open

Consider adding helper methods to AnalysisPeriod enum #2032

mikewilli opened this issue Mar 12, 2024 · 0 comments

Comments

@mikewilli
Copy link
Contributor

mikewilli commented Mar 12, 2024

Created from PR comment:

Not sure if there's an obvious solution, but we have a lot of locally defined lists each with a subset of AnalysisPeriod's values. Would be nice if we could do something like AnalysisPeriod.get_pre_enrollment_periods() or AnalysisPeriod.get_all(), etc. so that it's clear what the lists mean, but I don't think that's is a normal pattern for enums.

Nothing to fix necessarily, just hoping this might lead to a better idea than what I've come up with so far.

Originally posted by @mikewilli in #2019 (comment)

┆Issue is synchronized with this Jira Task

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

No branches or pull requests

1 participant