fastcs.controller_api
#
Members
Attributes, bound methods and sub APIs of a |
- class fastcs.controller_api.ControllerAPI(path: list[str] = <factory>, attributes: dict[str, ~fastcs.attributes.Attribute] = <factory>, command_methods: dict[str, ~fastcs.cs_methods.Command] = <factory>, put_methods: dict[str, ~fastcs.cs_methods.Put] = <factory>, scan_methods: dict[str, ~fastcs.cs_methods.Scan] = <factory>, sub_apis: dict[str, ~fastcs.controller_api.ControllerAPI] = <factory>, description: str | None = None)[source]#
Attributes, bound methods and sub APIs of a
Controller
/SubController
- sub_apis: dict[str, ControllerAPI]#
APIs of the sub controllers of the
Controller
this API was built from
- walk_api() Iterator[ControllerAPI] [source]#
Walk through all the nested
ControllerAPI
s of thisControllerAPI
.Yields the
ControllerAPI
s from a depth-first traversal of the tree, including self.