diff --git a/django-stubs/core/files/base.pyi b/django-stubs/core/files/base.pyi index 6c27bbc..2d84fda 100644 --- a/django-stubs/core/files/base.pyi +++ b/django-stubs/core/files/base.pyi @@ -14,6 +14,7 @@ class File(FileProxyMixin, IO[Any]): def __init__(self, file: Any, name: Optional[str] = ...) -> None: ... def __bool__(self) -> bool: ... def __len__(self) -> int: ... + @property def size(self) -> int: ... def chunks(self, chunk_size: Optional[int] = ...) -> Iterator[bytes]: ... def multiple_chunks(self, chunk_size: Optional[int] = ...) -> bool: ...