Skip to content

Commit 997677a

Browse files
Fix after CR
1 parent b79d155 commit 997677a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

django-stubs/core/cache/backends/filebased.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ from typing import Any, ClassVar
33
from django.core.cache.backends.base import BaseCache
44

55
class FileBasedCache(BaseCache):
6-
cache_suffix: str
6+
cache_suffix: ClassVar[str]
77
pickle_protocol: ClassVar[int]
88
def __init__(self, dir: str, params: dict[str, Any]) -> None: ...

django-stubs/core/cache/backends/memcached.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ class MemcachedCache(BaseMemcachedCache):
2020

2121
class PyLibMCCache(BaseMemcachedCache):
2222
def __init__(self, server: str | Sequence[str], params: dict[str, Any]) -> None: ...
23+
@property
24+
def client_servers(self) -> list[str]: ...
2325

2426
class PyMemcacheCache(BaseMemcachedCache):
2527
def __init__(self, server: str | Sequence[str], params: dict[str, Any]) -> None: ...

0 commit comments

Comments
 (0)