The current state is the modules pe_source, pe_scorecard and breakout the database connection into a module and convert into classes where possible.
Motivation and context
We need to have a generic database connection class to limit the scope of each of the modules. The pe_reports module currently has the database connection code and it should be more generic, to be used anywhere necessary in the repo.
Implementation notes
Classify the modules and convert scripts to methods of a class.
Acceptance criteria
How do we know when this work is done?
[ ]Do all modules contain a parent class with methods
[ ]Are the imported module scripts methods of the class
💡 Summary
The current state is the modules pe_source, pe_scorecard and breakout the database connection into a module and convert into classes where possible.
Motivation and context
We need to have a generic database connection class to limit the scope of each of the modules. The pe_reports module currently has the database connection code and it should be more generic, to be used anywhere necessary in the repo.
Implementation notes
Classify the modules and convert scripts to methods of a class.
Acceptance criteria
How do we know when this work is done?