Skip to content

Commit 44bc963

Browse files
viambotgithub-actions[bot]
authored andcommitted
[WORKFLOW] Updating protos from viamrobotics/api, commit: b8e974c498f755b5e438dd6ccc79e49fc1bd24e4
1 parent 1ade187 commit 44bc963

File tree

5 files changed

+58
-26
lines changed

5 files changed

+58
-26
lines changed

src/viam/gen/common/v1/common_pb2.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ global___Orientation = Orientation
122122

123123
@typing.final
124124
class PoseInFrame(google.protobuf.message.Message):
125-
"""PoseInFrame contains a pose and the and the reference frame in which it was observed"""
125+
"""PoseInFrame contains a pose and the reference frame in which it was observed"""
126126
DESCRIPTOR: google.protobuf.descriptor.Descriptor
127127
REFERENCE_FRAME_FIELD_NUMBER: builtins.int
128128
POSE_FIELD_NUMBER: builtins.int

src/viam/gen/robot/v1/robot_pb2.py

Lines changed: 24 additions & 22 deletions
Large diffs are not rendered by default.

src/viam/gen/robot/v1/robot_pb2.pyi

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ class GetMachineStatusResponse(google.protobuf.message.Message):
877877
RESOURCES_FIELD_NUMBER: builtins.int
878878
CONFIG_FIELD_NUMBER: builtins.int
879879
STATE_FIELD_NUMBER: builtins.int
880+
JOB_STATUSES_FIELD_NUMBER: builtins.int
880881
state: global___GetMachineStatusResponse.State.ValueType
881882

882883
@property
@@ -887,16 +888,43 @@ class GetMachineStatusResponse(google.protobuf.message.Message):
887888
def config(self) -> global___ConfigStatus:
888889
...
889890

890-
def __init__(self, *, resources: collections.abc.Iterable[global___ResourceStatus] | None=..., config: global___ConfigStatus | None=..., state: global___GetMachineStatusResponse.State.ValueType=...) -> None:
891+
@property
892+
def job_statuses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___JobStatus]:
893+
...
894+
895+
def __init__(self, *, resources: collections.abc.Iterable[global___ResourceStatus] | None=..., config: global___ConfigStatus | None=..., state: global___GetMachineStatusResponse.State.ValueType=..., job_statuses: collections.abc.Iterable[global___JobStatus] | None=...) -> None:
891896
...
892897

893898
def HasField(self, field_name: typing.Literal['config', b'config']) -> builtins.bool:
894899
...
895900

896-
def ClearField(self, field_name: typing.Literal['config', b'config', 'resources', b'resources', 'state', b'state']) -> None:
901+
def ClearField(self, field_name: typing.Literal['config', b'config', 'job_statuses', b'job_statuses', 'resources', b'resources', 'state', b'state']) -> None:
897902
...
898903
global___GetMachineStatusResponse = GetMachineStatusResponse
899904

905+
@typing.final
906+
class JobStatus(google.protobuf.message.Message):
907+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
908+
JOB_NAME_FIELD_NUMBER: builtins.int
909+
RECENT_SUCCESSFUL_RUNS_FIELD_NUMBER: builtins.int
910+
RECENT_FAILED_RUNS_FIELD_NUMBER: builtins.int
911+
job_name: builtins.str
912+
913+
@property
914+
def recent_successful_runs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.timestamp_pb2.Timestamp]:
915+
...
916+
917+
@property
918+
def recent_failed_runs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.timestamp_pb2.Timestamp]:
919+
...
920+
921+
def __init__(self, *, job_name: builtins.str=..., recent_successful_runs: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None=..., recent_failed_runs: collections.abc.Iterable[google.protobuf.timestamp_pb2.Timestamp] | None=...) -> None:
922+
...
923+
924+
def ClearField(self, field_name: typing.Literal['job_name', b'job_name', 'recent_failed_runs', b'recent_failed_runs', 'recent_successful_runs', b'recent_successful_runs']) -> None:
925+
...
926+
global___JobStatus = JobStatus
927+
900928
@typing.final
901929
class ResourceStatus(google.protobuf.message.Message):
902930
DESCRIPTOR: google.protobuf.descriptor.Descriptor

src/viam/proto/robot/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
GetStatusResponse,
3030
GetVersionRequest,
3131
GetVersionResponse,
32+
JobStatus,
3233
ListTunnelsRequest,
3334
ListTunnelsResponse,
3435
LogRequest,
@@ -95,6 +96,7 @@
9596
"GetStatusResponse",
9697
"GetVersionRequest",
9798
"GetVersionResponse",
99+
"JobStatus",
98100
"ListTunnelsRequest",
99101
"ListTunnelsResponse",
100102
"LogRequest",

src/viam/version_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__version__ = "0.59.0"
22

3-
API_VERSION = "v0.1.488"
3+
API_VERSION = "v0.1.490"
44
SDK_VERSION = __version__

0 commit comments

Comments
 (0)