From ae61013c94516e70f99027af0260adb215c1b795 Mon Sep 17 00:00:00 2001 From: Vince Reuter Date: Thu, 21 Nov 2024 16:27:09 +0100 Subject: [PATCH] add necessary imports --- spotfishing/roi_tools.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spotfishing/roi_tools.py b/spotfishing/roi_tools.py index f8476e0..98928f9 100644 --- a/spotfishing/roi_tools.py +++ b/spotfishing/roi_tools.py @@ -1,13 +1,14 @@ """Tools for working with spots/ROIs""" -from typing import TypeAlias +from typing import Any, Mapping, TypeAlias from gertils.geometry import ImagePoint3D from numpydoc_decorator import doc +from pandas import Series from .detection_result import RoiCenterKeys -Record: TypeAlias = pd.Series | Mapping[str, Any] # type: ignore[misc,type-arg] +Record: TypeAlias = Series | Mapping[str, Any] # type: ignore[misc,type-arg] @doc(