DOI-USGS / DOI-USGS/dataretrieval-python
enums for site type, county, etc.
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 265
- Forks
- 63
- Ø Merge
- 1 T. 20 Std.
- Gemergte PRs (30 T.)
- 19
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.