Is your feature request related to a problem? Please describe.
Currently, we have a config directory with JSON configs in it. This is slightly ugly.
Because of the long-running nature of this system, I think having a file-based config is good for everyone, but perhaps just having a single file, and having the LIBREary base class instantiate each of the subclasses it needs with class-based configs would be better.
Describe the solution you'd like
LIBREary would have a single config, then, within the file, it would do things like this:
adapterman = AdapterManager(levels=[self.config.levels])
rather than this:
adapterman = AdapterManager(config_dir="CONFIG")
Describe alternatives you've considered
This is a proposal of an alternative
Is your feature request related to a problem? Please describe.
Currently, we have a config directory with JSON configs in it. This is slightly ugly.
Because of the long-running nature of this system, I think having a file-based config is good for everyone, but perhaps just having a single file, and having the LIBREary base class instantiate each of the subclasses it needs with class-based configs would be better.
Describe the solution you'd like
LIBREary would have a single config, then, within the file, it would do things like this:
adapterman = AdapterManager(levels=[self.config.levels])rather than this:
adapterman = AdapterManager(config_dir="CONFIG")Describe alternatives you've considered
This is a proposal of an alternative