cihai / unihan-etl

Export UNIHAN's database to csv, json or yaml
https://unihan-etl.git-pull.com
MIT License
52 stars 13 forks source link

Use `dataclass` config object #279

Closed tony closed 1 year ago

tony commented 1 year ago

Dataclasses (standard library) via PEP 557 are typed, inheritable, configurable, accessible via dot-notation and fit the role of config objects perfectly.