INNER CODE UNIT · Python
_settings
DHI/terracotta · terracotta/__init__.py:45
_settings = parse_config({**current_config, **new_config})
_overwritten_settings |= set(new_config.keys())
def get_settings() -> TerracottaSettings: # noqa: F821
"""Returns the current set of global runtime settings.
Example:
>>> import terracotta as tc
>>> tc.get_settings().DEBUG
False
"""
return _settings
del parse_config, TerracottaSettings