diff --git a/fedn/fedn/common/config.py b/fedn/fedn/common/config.py index e72646c89..e53d7dea7 100644 --- a/fedn/fedn/common/config.py +++ b/fedn/fedn/common/config.py @@ -5,6 +5,7 @@ global STATESTORE_CONFIG global MODELSTORAGE_CONFIG + def get_env(key, default=None): """ Get environment variable. @@ -17,6 +18,7 @@ def get_env(key, default=None): """ return os.environ.get(key, default) + def get_environment_config(): """ Get the configuration from environment variables. """