diff --git a/django-stubs/core/cache/backends/base.pyi b/django-stubs/core/cache/backends/base.pyi index 35ff48e22..1e64f7863 100644 --- a/django-stubs/core/cache/backends/base.pyi +++ b/django-stubs/core/cache/backends/base.pyi @@ -34,8 +34,8 @@ class BaseCache: async def aset(self, key: Any, value: Any, timeout: float | None = ..., version: int | None = ...) -> None: ... def touch(self, key: Any, timeout: float | None = ..., version: int | None = ...) -> bool: ... async def atouch(self, key: Any, timeout: float | None = ..., version: int | None = ...) -> bool: ... - def delete(self, key: Any, version: int | None = ...) -> None: ... - async def adelete(self, key: Any, version: int | None = ...) -> None: ... + def delete(self, key: Any, version: int | None = ...) -> bool: ... + async def adelete(self, key: Any, version: int | None = ...) -> bool: ... def get_many(self, keys: Iterable[Any], version: int | None = ...) -> dict[Any, Any]: ... async def aget_many(self, keys: Iterable[Any], version: int | None = ...) -> dict[Any, Any]: ... def get_or_set(