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
+3 -3
View File
@@ -44,7 +44,7 @@ class ForeignObjectRel:
def __repr__(self) -> str: ...
@property
def db_type(self) -> Callable: ...
def get_accessor_name(self, model: Any = ...) -> Optional[str]: ...
def get_accessor_name(self, model: Optional[Type[Model]] = ...) -> Optional[str]: ...
def get_cache_name(self) -> str: ...
def get_choices(
self,
@@ -62,7 +62,7 @@ class ForeignObjectRel:
def get_lookup(
self,
lookup_name: str
) -> Type[Union[RelatedIsNull, RelatedIn, RelatedExact]]: ...
) -> Type[Union[RelatedIsNull, RelatedExact, RelatedIn]]: ...
def get_path_info(
self,
filtered_relation: Optional[FilteredRelation] = ...
@@ -81,7 +81,7 @@ class ForeignObjectRel:
@cached_property
def one_to_one(self) -> bool: ...
@cached_property
def related_model(self) -> Any: ...
def related_model(self) -> Type[Model]: ...
@property
def remote_field(
self