DOI-USGS / DOI-USGS/dataretrieval-python
enums for site type, county, etc.
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 265
- Forks
- 63
- Merge medio
- 1 d 20 h
- PR fusionados (30 d)
- 19
Descripción
How do we feel about using [`enum`](https://docs.python.org/3.8/library/enum.html) for [site type](https://github.com/DOI-USGS/dataretrieval-python/blob/87351a13b7c7c1cf035e9a359addf289d14f5e50/dataretrieval/nwis.py#L609-L613), [county code](https://github.com/DOI-USGS/dataretrieval-python/blob/87351a13b7c7c1cf035e9a359addf289d14f5e50/dataretrieval/nwis.py#L583-L586C15), etc., instead of `str`?
It would fit nicely with:
- #97
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.