Skip to content

Commit 7fe476c

Browse files
authored
Remove BaseManager.cache attribute (#2309)
It doesn't exist at runtime
1 parent 972a4e5 commit 7fe476c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

django-stubs/db/models/manager.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import datetime
2-
from collections.abc import AsyncIterator, Callable, Collection, Iterable, Iterator, Mapping, Sequence
2+
from collections.abc import AsyncIterator, Collection, Iterable, Iterator, Mapping, Sequence
33
from typing import Any, Generic, NoReturn, TypeVar, overload
44

55
from django.db.models.base import Model
@@ -10,7 +10,6 @@ from typing_extensions import Self
1010
_T = TypeVar("_T", bound=Model, covariant=True)
1111

1212
class BaseManager(Generic[_T]):
13-
cache: Callable[[], Self] # django-cacheops
1413
creation_counter: int
1514
auto_created: bool
1615
use_in_migrations: bool

0 commit comments

Comments
 (0)