Skip to content

Commit c60f9df

Browse files
authored
DOCS-3240: Add mention of state field in machine status
1 parent 203eba8 commit c60f9df

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
@@ -918,6 +918,7 @@ async def get_machine_status(self) -> GetMachineStatusResponse:
918918
machine_status = await machine.get_machine_status()
919919
resource_statuses = machine_status.resources
920920
config_status = machine_status.config
921+
machine_state = machine_status.state
921922
922923
Returns:
923924
viam.proto.robot.GetMachineStatusResponse: current status of the resources (List[ResourceStatus]) and config of the machine.

0 commit comments

Comments
 (0)