Nelly-Barret / BETTER-fairificator

The fairification tools for BETTER project.
https://www.better-health-project.eu/
0 stars 0 forks source link

Create a Config class to be able to create it also from tests #20

Closed Nelly-Barret closed 3 weeks ago

Nelly-Barret commented 3 weeks ago

For now, I parse the dynamic parameters and set my config accordingly in th main.py. However, when it comes to tests, I have no way to pass a config to my Database instance, respectively my ETL instance.

It seems that I could encapsulate the Config setup, i.e., read the defaults and set with either (i) the dynmaic parameters given through command-line, or (ii) dynamic parameters given through tests (or even through a GUI).

Nelly-Barret commented 3 weeks ago

Done at https://github.com/Nelly-Barret/BETTER-fairificator/pull/21