Skip to content

Commit 16be777

Browse files
committed
and fix scuffed return type hint
1 parent 015aa14 commit 16be777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylhc/machine_settings_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def _get_optics(acc_time: AccDatetime, beamprocess: str, bp_start: AccDatetime)
498498

499499
def _get_last_optics(
500500
optics_table, bp: str, bp_start: AccDatetime, acc_time: AccDatetime
501-
) -> (str, AccDatetime):
501+
) -> tuple[str, AccDatetime]:
502502
"""Get the name of the optics at the right time for current beam process."""
503503
ts = acc_time.timestamp() - bp_start.timestamp()
504504
item = None

0 commit comments

Comments
 (0)