Skip to main content

DevelopmentConfig

Configuration for local development.

Attributes

AttributeTypeDescription
DEBUGbool = TrueFlag to enable or disable debug mode, which provides more verbose logging and error details during development. Defaults to True.
PAGE_SIZEint = 10Default number of items to display per page in paginated results. Defaults to 10.

Methods


get_cache_config()

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

Builds and returns the cache configuration dictionary with a TTL of 30 seconds and a maximum size of 128 items.

Returns

TypeDescription
Dict[str, Any]A dictionary containing cache configuration parameters.