We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 016344f commit de036d7Copy full SHA for de036d7
src/fastcs/control_system.py
@@ -180,7 +180,9 @@ def build_controller_api(controller: Controller) -> ControllerAPI:
180
return _build_controller_api(controller, [])
181
182
183
-def _build_controller_api(controller: BaseController, path: list[str]) -> ControllerAPI:
+def _build_controller_api(
184
+ controller: BaseController, path: list[str | int]
185
+) -> ControllerAPI:
186
scan_methods: dict[str, Scan] = {}
187
command_methods: dict[str, Command] = {}
188
for attr_name in dir(controller):
0 commit comments