Grasia / dao-scripts

Scripts to get data for the DAO-Analyzer dataset
https://www.kaggle.com/datasets/daviddavo/dao-analyzer
GNU General Public License v3.0
0 stars 0 forks source link

Fix config module #1

Closed daviddavo closed 5 months ago

daviddavo commented 1 year ago

Is impossible to test the application or import it as modules as the config module is populated with argparse. The modules can't be used without running the main.

daviddavo commented 5 months ago

Now using dynaconf, which allows setting the settings using env variables. Some configs that could be changed each run (like debug or skip-daohaus-names) can be overridden by CLI arguments, but we could easily add config files support.