Skip to content

refactor: migrate ConfigUpdater class to be called from each module separately, rather than one master instance passed around like a drunk wife.  #85

@Samlant

Description

@Samlant

Description, issue

ConfigUpdater needs to be passed around numerous times to numerous modules & functions, when it could simply be imported then called on an as-needed basis.

Solution

Import what's necessary within each module, then call the needed methods.

Alternatives

Insert the config Updater module within the init.py file so that it can be a global namespace (safe in this case) and easily called from anywhere. --> may be a little excessive depending on how concise the above solution is written.

Additional context

Other alternatives may need to be researched prior to settling on any one idea.

Metadata

Metadata

Assignees

Labels

improvementImprovements or additions to already-existing code---not part of new features/requestsquestionFurther information will need to be researched

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions