Skip to content

config ¤

Settings used to configure nendo.

Environment ¤

Bases: Enum

Enum used to denote the environment in which nendo is running.

NendoConfig ¤

Bases: BaseSettings

The basic nendo configuration object.

Uses pydantic's settings management features. Refer to the documentation page on configuration management for a full list of configuration options.

get_settings cached ¤

get_settings() -> NendoConfig

Return the Nendo configuration, cached.

Source code in src/nendo/config.py
46
47
48
49
@lru_cache()
def get_settings() -> NendoConfig:
    """Return the Nendo configuration, cached."""
    return NendoConfig()