From 66c455a2e8c12b0aa46ec4706c4a02122eb2fa7b 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.