value_to_string obj param is Model

This commit is contained in:
Maksim Kurnikov
2021-01-20 01:58:29 +03:00
parent 0a0e1985d7
commit 344dea06b5

View File

@@ -142,7 +142,7 @@ class Field(RegisterLookupMixin, Generic[_ST, _GT]):
def cached_col(self) -> Col: ...
def value_from_object(self, obj: Model) -> _GT: ...
def get_attname(self) -> str: ...
def value_to_string(self, obj: Any) -> str: ...
def value_to_string(self, obj: Model) -> str: ...
class IntegerField(Field[_ST, _GT]):
_pyi_private_set_type: Union[float, int, str, Combinable]