mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-17 11:31:30 +08:00
black reformat, some fixes
This commit is contained in:
1 parent
25a71a7ef5
commit
5ec2830ba6
108 files changed
+673
-187
No files matched your search
@@ -77,7 +77,9 @@ class DeserializedObject:
|
||||
def save(self, save_m2m: bool = ..., using: Optional[str] = ..., **kwargs: Any) -> None: ...
|
||||
|
||||
def build_instance(Model: Type[Model], data: Dict[str, Optional[Union[date, int, str, UUID]]], db: str) -> Model: ...
|
||||
def deserialize_m2m_values(field: ManyToManyField, field_value: Union[List[List[str]], List[int]], using: str) -> List[int]: ...
|
||||
def deserialize_m2m_values(
|
||||
field: ManyToManyField, field_value: Union[List[List[str]], List[int]], using: str
|
||||
) -> List[int]: ...
|
||||
def deserialize_fk_value(
|
||||
field: ForeignKey, field_value: Optional[Union[List[str], Tuple[str], int, str]], using: str
|
||||
) -> Optional[Union[int, str, UUID]]: ...
|
||||
Reference in new issue
Block a user