mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 04:34:29 +08:00
add .model field to _BaseQuerySet (#268)
This commit is contained in:
committed by
Nikita Sobolev
parent
5832605053
commit
6b3b6be3c1
@@ -31,6 +31,7 @@ _T = TypeVar("_T", bound=models.Model, covariant=True)
|
|||||||
_QS = TypeVar("_QS", bound="_BaseQuerySet")
|
_QS = TypeVar("_QS", bound="_BaseQuerySet")
|
||||||
|
|
||||||
class _BaseQuerySet(Generic[_T], Sized):
|
class _BaseQuerySet(Generic[_T], Sized):
|
||||||
|
model: Type[_T]
|
||||||
query: Query
|
query: Query
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user