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

Extract governor states into a better organizing object #376

Open
JunAishima opened this issue Apr 22, 2024 · 1 comment
Open

Extract governor states into a better organizing object #376

JunAishima opened this issue Apr 22, 2024 · 1 comment

Comments

@JunAishima
Copy link
Collaborator

Perhaps use an enum or something. The hard-coded, capitalized state names are all over LSDC, and it would be better to have them consolidated into a single place.

This will enable something like #369 for state checking ("state_SA", etc.) to be easier to calculate and be used in many places.

@vshekar
Copy link
Collaborator

vshekar commented Apr 22, 2024

I've been using it in albula management code:

class GovState(Enum):

Perhaps its time to move it to gov_lib

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

2 participants