Skip to main content

DevelopmentConfig

Configuration for local development.

Attributes

AttributeTypeDescription
DEBUGbool = TrueEnables or disables the framework's debug mode to provide detailed error logs and live reloading during local development.
PAGE_SIZEint = 10Specifies the default number of records to return per page in paginated API responses.

Methods


get_cache_config()

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

Generates the cache configuration settings specifically for the local development environment.

Returns

TypeDescription
Dict[str, Any]A dictionary containing the time-to-live (TTL) and maximum size constraints for the development cache.