MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / CacheConfig

Class CacheConfig

src/core/models.py:165–173  ·  view source on GitHub ↗

Cache configuration

Source from the content-addressed store, hash-verified

163
164
165class CacheConfig(BaseModel):
166 """Cache configuration"""
167
168 id: int = 1
169 cache_enabled: bool = False
170 cache_timeout: int = 7200 # seconds (2 hours), 0 means never expire
171 cache_base_url: Optional[str] = None
172 created_at: Optional[datetime] = None
173 updated_at: Optional[datetime] = None
174
175
176class DebugConfig(BaseModel):

Callers 1

get_cache_configMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected