evolving_ideas.common.cache_store

evolving_ideas.common.cache_store

Attributes

Classes

CacheStore

A lightweight key-value cache backed by a YAML file.

Module Contents

evolving_ideas.common.cache_store.logger
class evolving_ideas.common.cache_store.CacheStore(path: str | None = None)

A lightweight key-value cache backed by a YAML file. Used for caching settings like valid API key or username.

cache_path
get(key: str, default: Any = None) Any
set(key: str, value: Any)
delete(key: str)
all() dict
clear()