kbase / JobRunner

KBase Job Runner
MIT License
0 stars 5 forks source link

Refactor Configuration Handling #51

Closed scanon closed 1 year ago

scanon commented 1 year ago

This refactors the configuration handling to use a class instead of a dict. So this is a large change because this weaves through out the platform.

JobRunner/config.py add a Config class. This is initialized by the CLI tools or modules. The config object is then passed off to the other modules. Many of the tests also needed to be updated since they were initializing a configuration dict before.

There are a few minor flake8 fixes too but this is primarily what is needed to make the configuration change and fix tests.