Skip to main content

BaseConfig

Base configuration shared across all environments.

Attributes

AttributeTypeDescription
SECRET_KEYstring = change-meCryptographic key used for signing session cookies and protecting sensitive data, defaulting to an environment variable or a fallback string.
DEBUGboolean = falseBoolean flag that enables or disables the application's debug mode for troubleshooting.
TESTINGboolean = falseBoolean flag indicating whether the application is running in a test environment to modify error handling or logging.
PAGE_SIZEinteger = DEFAULT_PAGE_SIZEThe number of records to return per page in paginated responses, constrained by the system's maximum page size.

Methods


get_cache_config()

@classmethod
def get_cache_config() - > Dict[string, Any]

Return cache settings for this environment.

Returns

TypeDescription
Dict[string, Any]A dictionary containing the environment-specific cache configuration settings.