From 6b919d76e24323fc20af4051a2f8100dc96b1365 Mon Sep 17 00:00:00 2001 From: Noam Date: Thu, 18 Jul 2024 13:28:39 +0300 Subject: [PATCH] Add dimensions for openpyxl Image. (#12362) --- stubs/openpyxl/openpyxl/drawing/image.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stubs/openpyxl/openpyxl/drawing/image.pyi b/stubs/openpyxl/openpyxl/drawing/image.pyi index 490429aa4..69ea32157 100644 --- a/stubs/openpyxl/openpyxl/drawing/image.pyi +++ b/stubs/openpyxl/openpyxl/drawing/image.pyi @@ -14,6 +14,8 @@ PILImage: ModuleType | Literal[False] class Image: anchor: str ref: _PILImageImage | _PILImageFilePath + width: int + height: int format: str def __init__(self, img: _PILImageImage | _PILImageFilePath) -> None: ... @property