Skip to content

Commit 07732ab

Browse files
committed
dict -> dict[Any, Any]
1 parent f7580b3 commit 07732ab

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/ibex_bluesky_core/plans/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def scan( # noqa: PLR0913
5353
periods: bool = True,
5454
save_run: bool = False,
5555
rel: bool = False,
56-
md: dict | None = None,
56+
md: dict[Any, Any] | None = None,
5757
) -> Generator[Msg, None, ISISCallbacks]:
5858
"""Scan the DAE against a Movable.
5959
@@ -131,7 +131,7 @@ def adaptive_scan( # noqa: PLR0913, PLR0917
131131
periods: bool = True,
132132
save_run: bool = False,
133133
rel: bool = False,
134-
md: dict | None = None,
134+
md: dict[Any, Any] | None = None,
135135
) -> Generator[Msg, None, ISISCallbacks]:
136136
"""Scan the DAE against a block using an adaptive scan.
137137
@@ -205,7 +205,7 @@ def motor_scan( # noqa: PLR0913
205205
periods: bool = True,
206206
save_run: bool = False,
207207
rel: bool = False,
208-
md: dict | None = None,
208+
md: dict[Any, Any] | None = None,
209209
) -> Generator[Msg, None, ISISCallbacks]:
210210
"""Wrap our scan() plan and create a block_rw and a DAE object.
211211
@@ -274,7 +274,7 @@ def motor_adaptive_scan( # noqa: PLR0913
274274
periods: bool = True,
275275
save_run: bool = False,
276276
rel: bool = False,
277-
md: dict | None = None,
277+
md: dict[Any, Any] | None = None,
278278
) -> Generator[Msg, None, ISISCallbacks]:
279279
"""Wrap adaptive_scan() plan and create a block_rw and a DAE object.
280280

src/ibex_bluesky_core/plans/reflectometry/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Plans specific to Reflectometry beamlines."""
22

33
from collections.abc import Generator
4+
from typing import Any
45

56
from bluesky import Msg
67

@@ -44,7 +45,7 @@ def refl_scan( # noqa: PLR0913
4445
periods: bool = True,
4546
save_run: bool = False,
4647
rel: bool = False,
47-
md: dict | None = None,
48+
md: dict[Any, Any] | None = None,
4849
) -> Generator[Msg, None, ISISCallbacks]:
4950
"""Scan over a reflectometry parameter.
5051
@@ -107,7 +108,7 @@ def refl_adaptive_scan( # noqa: PLR0913
107108
periods: bool = True,
108109
save_run: bool = False,
109110
rel: bool = False,
110-
md: dict | None = None,
111+
md: dict[Any, Any] | None = None,
111112
) -> Generator[Msg, None, ISISCallbacks]:
112113
"""Perform an adaptive scan over a reflectometry parameter.
113114

src/ibex_bluesky_core/plans/reflectometry/_det_map_align.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def angle_scan_plan(
172172
*,
173173
angle_map: npt.NDArray[np.float64],
174174
flood: sc.Variable | None = None,
175-
md: dict | None = None,
175+
md: dict[Any, Any] | None = None,
176176
) -> Generator[Msg, None, ModelResult | None]:
177177
"""Reflectometry detector-mapping angle alignment plan.
178178
@@ -249,7 +249,7 @@ def height_and_angle_scan_plan( # noqa PLR0913
249249
angle_map: npt.NDArray[np.float64],
250250
rel: bool = False,
251251
flood: sc.Variable | None = None,
252-
md: dict | None = None,
252+
md: dict[Any, Any] | None = None,
253253
) -> Generator[Msg, None, DetMapAlignResult]:
254254
"""Reflectometry detector-mapping simultaneous height & angle alignment plan.
255255

0 commit comments

Comments
 (0)