Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/long2ice/fastapi-cache
/ get_backend
Method
get_backend
fastapi_cache/__init__.py:63–65 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
61
62
@classmethod
63
def
get_backend(cls) -> Backend:
64
assert cls._backend,
"You must call init first!"
# noqa: S101
65
return
cls._backend
66
67
@classmethod
68
def
get_prefix(cls) -> str:
Callers
1
inner
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected