Skip to content

(up for debate) class-based configs of some kind #48

Description

@benhg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions