Apply suggestions from code review of branch better-docstrings

Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
This commit is contained in:
Julian Stirling 2025-07-11 07:26:26 +00:00
parent f91582c9eb
commit c68f0515f5

View file

@ -47,10 +47,7 @@ XYCoordinateType = Tuple[float, float]
class HardwareInterfaceModel(BaseModel):
"""A pydantic base model for a stage and camera interface.
This class provides access to both the stage and the camera, but
it is confusing both because it is a BaseModel of callables rather
than a class with methods, and because it uses names from the underlying
Thing actions, but performs different actions.
This code has been flagged as confusing and will be replaced soon, see #476.
"""
move: Callable[[NDArray], None]