Skip to main content

DevelopmentConfig

Configuration for local development.

Attributes

AttributeTypeDescription
DEBUGbool = TrueControls whether debug mode is enabled for the application, providing detailed error pages and development tools.
PAGE_SIZEint = 10Determines the default number of items to display per page in paginated results.

Methods


get_cache_config()

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

Builds and returns the cache configuration for the application. This method is used to define caching parameters like time-to-live and maximum size for development environments.

Returns

TypeDescription
Dict[str, Any]A dictionary containing the cache configuration settings, including 'ttl' (time-to-live) and 'max_size' (maximum cache size).