diff --git a/django-stubs/core/files/uploadhandler.pyi b/django-stubs/core/files/uploadhandler.pyi index 164fe1c..1dfe863 100644 --- a/django-stubs/core/files/uploadhandler.pyi +++ b/django-stubs/core/files/uploadhandler.pyi @@ -15,14 +15,14 @@ class SkipFile(UploadFileException): ... class StopFutureHandlers(UploadFileException): ... class FileUploadHandler: - chunk_size = ... # type: int - file_name = ... # type: Optional[str] - content_type = ... # type: Optional[str] - content_length = ... # type: Optional[int] - charset = ... # type: Optional[str] - content_type_extra = ... # type: Optional[Dict[str, str]] - request = ... # type: Optional[HttpRequest] - field_name = ... # type: str + chunk_size: int = ... + file_name: Optional[str] = ... + content_type: Optional[str] = ... + content_length: Optional[int] = ... + charset: Optional[str] = ... + content_type_extra: Optional[Dict[str, str]] = ... + request: Optional[HttpRequest] = ... + field_name: str = ... def __init__(self, request: Optional[HttpRequest] = ...) -> None: ... def handle_raw_input( self, diff --git a/django-stubs/utils/termcolors.pyi b/django-stubs/utils/termcolors.pyi index ac176a4..2065a51 100644 --- a/django-stubs/utils/termcolors.pyi +++ b/django-stubs/utils/termcolors.pyi @@ -13,6 +13,6 @@ NOCOLOR_PALETTE: str DARK_PALETTE: str LIGHT_PALETTE: str PALETTES: Any -DEFAULT_PALETTE = DARK_PALETTE +DEFAULT_PALETTE: str = ... def parse_color_setting(config_string: str) -> Optional[Dict[str, Dict[str, Union[Tuple[str], str]]]]: ...