MCPcopy Index your code
hub / github.com/long2ice/fastapi-cache / reset

Method reset

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

Source from the content-addressed store, hash-verified

50
51 @classmethod
52 def reset(cls) -> None:
53 cls._init = False
54 cls._backend = None
55 cls._prefix = None
56 cls._expire = None
57 cls._coder = None
58 cls._key_builder = None
59 cls._cache_status_header = None
60 cls._enable = True
61
62 @classmethod
63 def get_backend(cls) -> Backend:

Callers 1

_init_cacheFunction · 0.80

Calls

no outgoing calls

Tested by 1

_init_cacheFunction · 0.64