materialsproject / jobflow

jobflow is a library for writing computational workflows.
https://materialsproject.github.io/jobflow
Other
93 stars 24 forks source link

`ValueEnum` now in Python std lib? #472

Open janosh opened 11 months ago

janosh commented 11 months ago

Is the ValueEnum the same thing as StrEnum added into Python 3.11+ std lib?

https://github.com/materialsproject/jobflow/blob/beb78b12d3a55ce48166026887dfaa5758a67739/src/jobflow/utils/enum.py#L6-L16

If so we could replace with ValueEnum with StrEnum in ~2 years. Feel free to leave a note in the code (or not) and close this issue.