Skip to main content

BaseConfig

Base configuration shared across all environments.

Attributes

AttributeTypeDescription
SECRET_KEYstr = change-meThe secret key used for cryptographic operations, defaulting to an environment variable or a placeholder if not set.
DEBUGbool = FalseA boolean indicating whether debug mode is enabled, affecting error reporting and other development-specific features.
TESTINGbool = FalseA boolean indicating whether the application is running in a testing environment, which can alter behavior for testability.
PAGE_SIZEint = DEFAULT_PAGE_SIZEThe default number of items to display per page in paginated results.

Methods


get_cache_config()

def get_cache_config(self) -> Dict[str, Any]: ...

Return cache settings for this environment.

Returns

TypeDescription
Dict[str, Any]