project_config.cache module

Persistent cache.

class project_config.cache.Cache[source]

Bases: object

Wrapper for a unique diskcache.Cache instance.

class Keys[source]

Bases: object

expiration = '_project_config_cache_expiration'
static _get_cache() diskcache.core.Cache[source]
static clean() bool[source]

Remove the cache directory.

classmethod get(*args: Any, **kwargs: Any) Any[source]
static get_directory() str[source]

Return the cache directory.

classmethod set(*args: Any, **kwargs: Any) Any[source]
project_config.cache._directory() str[source]