Skip to content

Commit ebf53e3

Browse files
committed
Fix return type annot for slice_from_time()
1 parent 9ce5203 commit ebf53e3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

piker/data/_pathops.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,7 @@ def slice_from_time(
297297
stop_t: float,
298298
step: int | None = None,
299299

300-
) -> tuple[
301-
slice,
302-
slice,
303-
]:
300+
) -> slice:
304301
'''
305302
Calculate array indices mapped from a time range and return them in
306303
a slice.

0 commit comments

Comments
 (0)