christabor / plantstuff

Warning! messy/unstable! :herb: :evergreen_tree: :maple_leaf: :leaves: :hibiscus: Utilities for retrieving, computing, organizing, and creating plant/horticulture data from various sources.
MIT License
6 stars 0 forks source link

Look into using dataclasses for native data support #12

Open christabor opened 5 years ago

christabor commented 5 years ago

There has been a lot of back and forth with defining a more abstract schema, and making it work in python. It seems like dataclasses might be the perfect solution - but it needs to support complex list/object dependencies. Possibly this could use the typing module to achieve something pythonic and native.