MCPcopy
hub / github.com/long2ice/fastapi-cache / get_prefix

Method get_prefix

fastapi_cache/__init__.py:68–70  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

66
67 @classmethod
68 def get_prefix(cls) -> str:
69 assert cls._prefix is not None, "You must call init first!" # noqa: S101
70 return cls._prefix
71
72 @classmethod
73 def get_expire(cls) -> Optional[int]:

Callers 1

innerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected