Skip to content

Commit

Permalink
Remove BaseManager.cache attribute (#2309)
Browse files Browse the repository at this point in the history
It doesn't exist at runtime
  • Loading branch information
flaeppe authored Aug 2, 2024
1 parent 972a4e5 commit 7fe476c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions django-stubs/db/models/manager.pyi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import datetime
from collections.abc import AsyncIterator, Callable, Collection, Iterable, Iterator, Mapping, Sequence
from collections.abc import AsyncIterator, Collection, Iterable, Iterator, Mapping, Sequence
from typing import Any, Generic, NoReturn, TypeVar, overload

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

class BaseManager(Generic[_T]):
cache: Callable[[], Self] # django-cacheops
creation_counter: int
auto_created: bool
use_in_migrations: bool
Expand Down

0 comments on commit 7fe476c

Please sign in to comment.