mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 05:51:53 +08:00
black reformat, some fixes
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from typing import Any, Optional
|
||||
|
||||
def file_move_safe(old_file_name: str, new_file_name: str, chunk_size: int = ..., allow_overwrite: bool = ...) -> None: ...
|
||||
def file_move_safe(
|
||||
old_file_name: str, new_file_name: str, chunk_size: int = ..., allow_overwrite: bool = ...
|
||||
) -> None: ...
|
||||
|
||||
@@ -25,7 +25,12 @@ class TemporaryUploadedFile(UploadedFile):
|
||||
file: tempfile._TemporaryFileWrapper
|
||||
mode: str
|
||||
def __init__(
|
||||
self, name: str, content_type: str, size: int, charset: Optional[str], content_type_extra: Optional[Dict[Any, Any]] = ...
|
||||
self,
|
||||
name: str,
|
||||
content_type: str,
|
||||
size: int,
|
||||
charset: Optional[str],
|
||||
content_type_extra: Optional[Dict[Any, Any]] = ...,
|
||||
) -> None: ...
|
||||
def temporary_file_path(self) -> str: ...
|
||||
def close(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user