improved version

This commit is contained in:
Maxim Kurnikov
2018-07-29 20:06:41 +03:00
parent c180555415
commit 89bb6eac75
160 changed files with 1007 additions and 607 deletions

View File

@@ -6,6 +6,7 @@ from typing import (
Iterator,
Optional,
Tuple,
Type,
Union,
)
@@ -37,7 +38,7 @@ class NamedValuesListIterable:
class Prefetch:
def __eq__(self, other: None) -> bool: ...
def __getstate__(self) -> Dict[str, Union[str, QuerySet, None]]: ...
def __getstate__(self) -> Dict[str, Optional[Union[str, QuerySet]]]: ...
def __hash__(self) -> int: ...
def __init__(
self,
@@ -58,7 +59,7 @@ class QuerySet:
def __getstate__(self) -> Dict[str, Any]: ...
def __init__(
self,
model: Any = ...,
model: Type[Model] = ...,
query: Optional[Query] = ...,
using: Optional[str] = ...,
hints: Dict[str, Model] = ...