From 084c3763744fe155b551256f42686f79eb15790a Mon Sep 17 00:00:00 2001 From: Illia Halatiuk Date: Thu, 26 Sep 2024 20:39:40 +0700 Subject: [PATCH] type fix --- src/tapper/helper/img.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tapper/helper/img.py b/src/tapper/helper/img.py index 099175b..2c63edd 100644 --- a/src/tapper/helper/img.py +++ b/src/tapper/helper/img.py @@ -181,7 +181,7 @@ def get_find_raw( def snip( prefix: str | None = "snip", bbox_to_name: bool = True, - bbox_callback: Callable[[BboxT], Any] | None = None, + bbox_callback: Callable[[int, int, int, int], Any] | None = None, picture_callback: Callable[[ImagePixelMatrixT], Any] | None = None, ) -> Callable[[], None]: """