Skip to content

Commit

Permalink
Rename ScanAxis to ScannableAxis
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Oct 16, 2023
1 parent c887255 commit be17ffd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/dls_bluesky_core/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
from .coordination import group_uuid
from .maths import in_micros, step_to_num
from .scanspecs import get_constant_duration
from .types import MsgGenerator, PlanGenerator, ScanAxis
from .types import MsgGenerator, PlanGenerator, ScannableAxis

__all__ = [
"get_constant_duration",
"group_uuid",
"in_micros",
"MsgGenerator",
"PlanGenerator",
"ScanAxis",
"ScannableAxis",
"step_to_num",
]
2 changes: 1 addition & 1 deletion src/dls_bluesky_core/core/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
MsgGenerator = Generator[Msg, Any, None]
# 'A function that generates a plan'
PlanGenerator = Callable[..., MsgGenerator]
ScanAxis = Union[Device, DURATION]
ScannableAxis = Union[Device, DURATION]

0 comments on commit be17ffd

Please sign in to comment.