Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facilitate config reset #179

Open
HugoPerrier opened this issue Sep 10, 2024 · 0 comments
Open

Facilitate config reset #179

HugoPerrier opened this issue Sep 10, 2024 · 0 comments

Comments

@HugoPerrier
Copy link
Contributor

Description of Problem:
A common error consists in using

from melusine import config
config.reset("path/to/config")

instead of :

from melusine import config
config.reset(config_path="path/to/config")

Overview of the Solution:
We could raise an error if a config_path is given instead of a config dict.

Definition of Done:
Config reset is simplified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant