move generated stubs to separate directory, too messty

This commit is contained in:
Maxim Kurnikov
2018-11-10 17:49:18 +03:00
parent 7436d641e3
commit 96cd3ddb27
446 changed files with 58 additions and 71 deletions

View File

@@ -0,0 +1,19 @@
from io import BufferedReader, BytesIO
from typing import Any, Union
from django.core.files import File
class ImageFile(File):
file: BufferedReader
mode: str
name: str
@property
def width(self) -> int: ...
@property
def height(self) -> int: ...
def get_image_dimensions(
file_or_path: Union[BufferedReader, BytesIO, ImageFile, str],
close: bool = ...,
) -> Any: ...