Update typing
This commit is contained in:
@@ -88,8 +88,8 @@ def _arrange_images_on_grid(
|
|||||||
|
|
||||||
def _create_grid_annotation(
|
def _create_grid_annotation(
|
||||||
grid_info: _GridInfo,
|
grid_info: _GridInfo,
|
||||||
column_texts: list[str],
|
column_texts: list[str] | None,
|
||||||
row_texts: list[str],
|
row_texts: list[str] | None,
|
||||||
font: ImageFont.FreeTypeFont,
|
font: ImageFont.FreeTypeFont,
|
||||||
) -> Image.Image:
|
) -> Image.Image:
|
||||||
if not column_texts and not row_texts:
|
if not column_texts and not row_texts:
|
||||||
|
|||||||
Reference in New Issue
Block a user