From ebf53e32bdb2af6b8d1db87a196215538ad0e50d Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 24 Jan 2023 13:03:59 -0500 Subject: [PATCH] Fix return type annot for `slice_from_time()` --- piker/data/_pathops.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/piker/data/_pathops.py b/piker/data/_pathops.py index 5d514652..adaed041 100644 --- a/piker/data/_pathops.py +++ b/piker/data/_pathops.py @@ -297,10 +297,7 @@ def slice_from_time( stop_t: float, step: int | None = None, -) -> tuple[ - slice, - slice, -]: +) -> slice: ''' Calculate array indices mapped from a time range and return them in a slice.