Skip to content

Commit a1bcc5d

Browse files
authored
DOCS-3240: Add mention of state field in machine status (#822)
1 parent ac6ab8c commit a1bcc5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/viam/robot/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,7 @@ async def get_machine_status(self) -> GetMachineStatusResponse:
921921
machine_status = await machine.get_machine_status()
922922
resource_statuses = machine_status.resources
923923
config_status = machine_status.config
924+
machine_state = machine_status.state
924925
925926
Returns:
926927
viam.proto.robot.GetMachineStatusResponse: current status of the resources (List[ResourceStatus]) and config of the machine.

0 commit comments

Comments
 (0)