tooluniverse.cache.sqlite_backend module¶
SQLite-backed persistent cache for ToolUniverse.
The cache stores serialized tool results with TTL and version metadata. Designed to be a drop-in persistent layer behind the in-memory cache.
- class tooluniverse.cache.sqlite_backend.CacheEntry[source]¶
Bases:
object
CacheEntry(key: ‘str’, value: ‘Any’, namespace: ‘str’, version: ‘str’, ttl: ‘Optional[int]’, created_at: ‘float’, last_accessed: ‘float’, hit_count: ‘int’)
- __init__(key, value, namespace, version, ttl, created_at, last_accessed, hit_count)¶