Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wrede committed Feb 26, 2024
1 parent 8907977 commit f535fcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fedn/fedn/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
global STATESTORE_CONFIG
global MODELSTORAGE_CONFIG


def get_env(key, default=None):
""" Get environment variable.
Expand All @@ -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.
"""
Expand Down

0 comments on commit f535fcf

Please sign in to comment.