add .model field to _BaseQuerySet (#268)

This commit is contained in:
Dmitry Groshev
2019-12-12 18:50:59 +00:00
committed by Nikita Sobolev
parent 5832605053
commit 6b3b6be3c1

View File

@@ -31,6 +31,7 @@ _T = TypeVar("_T", bound=models.Model, covariant=True)
_QS = TypeVar("_QS", bound="_BaseQuerySet")
class _BaseQuerySet(Generic[_T], Sized):
model: Type[_T]
query: Query
def __init__(
self,