INNER CODE UNIT · Python

get_settings

DHI/terracotta · terracotta/__init__.py:49

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
del Mapping, Any, Set


# expose API

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…