Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/long2ice/fastapi-cache
/ get_cache_status_header
Method
get_cache_status_header
fastapi_cache/__init__.py:87–89 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
85
86
@classmethod
87
def
get_cache_status_header(cls) -> str:
88
assert cls._cache_status_header,
"You must call init first!"
# noqa: S101
89
return
cls._cache_status_header
90
91
@classmethod
92
def
get_enable(cls) -> bool:
Callers
1
inner
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected