From b268792774bd8834bb7e98dcfd4e109f2cde0825 Mon Sep 17 00:00:00 2001 From: Jakub Both Date: Fri, 26 Jul 2024 14:57:58 +0200 Subject: [PATCH] MAINT: Improve typing for rectangle assistant --- src/darsia/assistants/rectangle_selection_assistant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/darsia/assistants/rectangle_selection_assistant.py b/src/darsia/assistants/rectangle_selection_assistant.py index 82d76f47..1f45b6ca 100644 --- a/src/darsia/assistants/rectangle_selection_assistant.py +++ b/src/darsia/assistants/rectangle_selection_assistant.py @@ -17,7 +17,7 @@ class RectangleSelectionAssistant(darsia.BaseAssistant): """ - def __init__(self, img: darsia.Image, **kwargs) -> None: + def __init__(self, img: Optional[darsia.Image], **kwargs) -> None: """Initialize the assistant. Args: