diff --git a/.env.default b/.env.default index eb80f93..4dc48b9 100644 --- a/.env.default +++ b/.env.default @@ -1,2 +1,2 @@ -# CONFIG_DIRNAME="~/.mdrs-client" -# CONCURRENT=10 \ No newline at end of file +# MDRS_CLIENT_CONFIG_DIRNAME="~/.mdrs-client" +# MDRS_CLIENT_CONCURRENT=10 \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index dac1d3b..1346c37 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,8 +13,8 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, // Extensions - Code Spell Checker - "cSpell.ignoreWords": ["getframe", "pydantic"], - "cSpell.words": ["mdrs", "mdrsclient", "neurodata", "chacl", "Neuroinformatics", "RIKEN"], + "cSpell.ignoreWords": ["getframe", "pydantic", "UNLCK"], + "cSpell.words": ["chacl", "mdrs", "mdrsclient", "neurodata", "Neuroinformatics", "RIKEN"], // Extensions - isort "isort.args": ["--profile=black"], // Extensions - Prettier diff --git a/mdrsclient/settings.py b/mdrsclient/settings.py index 997be6b..f161b5c 100644 --- a/mdrsclient/settings.py +++ b/mdrsclient/settings.py @@ -4,8 +4,8 @@ from pydantic import BaseSettings class Settings(BaseSettings): - config_dirname: str = "~/.mdrs-client" - concurrent: int = 10 + mdrs_client_config_dirname: str = "~/.mdrs-client" + mdrs_client_concurrent: int = 10 class Config: env_file = ".env" @@ -14,5 +14,5 @@ class Settings(BaseSettings): settings = Settings() -CONCURRENT = settings.concurrent -CONFIG_DIRNAME = os.path.realpath(os.path.expanduser(settings.config_dirname)) +CONCURRENT = settings.mdrs_client_concurrent +CONFIG_DIRNAME = os.path.realpath(os.path.expanduser(settings.mdrs_client_config_dirname))