INNER CODE UNIT · Python

remove

comeuplater/fastapi_cache · fastapi_cache/registry.py:25

    def remove(cls, name: str) -> None:
        if name not in cls._caches:
            raise NameError('Cache with the same name not registered')

        del cls._caches[name]

    @classmethod
    def flush(cls) -> None:
        cls._caches = {}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…