Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion django-stubs/core/cache/backends/base.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from collections.abc import Callable, Iterable
from collections.abc import Callable, Iterable, Iterator
from typing import Any

from django.core.exceptions import ImproperlyConfigured
Expand Down Expand Up @@ -65,3 +65,5 @@ class BaseCache:
async def adecr_version(self, key: Any, delta: int = ..., version: int | None = ...) -> int: ...
def close(self, **kwargs: Any) -> None: ...
async def aclose(self, **kwargs: Any) -> None: ...

def memcache_key_warnings(key: str) -> Iterator[str]: ...
1 change: 0 additions & 1 deletion scripts/stubtest/allowlist_todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,6 @@ django.contrib.staticfiles.management.commands.collectstatic
django.contrib.staticfiles.management.commands.findstatic.Command.handle_label
django.contrib.staticfiles.storage
django.core.cache.InvalidCacheKey
django.core.cache.backends.base.memcache_key_warnings
django.core.cache.backends.db.DatabaseCache.pickle_protocol
django.core.cache.backends.filebased.FileBasedCache.pickle_protocol
django.core.cache.backends.locmem.LocMemCache.pickle_protocol
Expand Down