Skip to content

Commit 99215ab

Browse files
Automated Protos Update (viamrobotics#836)
Co-authored-by: viambot <[email protected]>
1 parent 21ff90f commit 99215ab

File tree

7 files changed

+285
-240
lines changed

7 files changed

+285
-240
lines changed

src/viam/gen/app/v1/app_grpc.py

Lines changed: 9 additions & 1 deletion
Large diffs are not rendered by default.

src/viam/gen/app/v1/app_pb2.py

Lines changed: 237 additions & 233 deletions
Large diffs are not rendered by default.

src/viam/gen/app/v1/app_pb2.pyi

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2468,6 +2468,35 @@ class GetFragmentHistoryResponse(google.protobuf.message.Message):
24682468
...
24692469
global___GetFragmentHistoryResponse = GetFragmentHistoryResponse
24702470

2471+
@typing.final
2472+
class GetFragmentUsageRequest(google.protobuf.message.Message):
2473+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
2474+
FRAGMENT_ID_FIELD_NUMBER: builtins.int
2475+
fragment_id: builtins.str
2476+
2477+
def __init__(self, *, fragment_id: builtins.str=...) -> None:
2478+
...
2479+
2480+
def ClearField(self, field_name: typing.Literal['fragment_id', b'fragment_id']) -> None:
2481+
...
2482+
global___GetFragmentUsageRequest = GetFragmentUsageRequest
2483+
2484+
@typing.final
2485+
class GetFragmentUsageResponse(google.protobuf.message.Message):
2486+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
2487+
VERSION_USAGES_FIELD_NUMBER: builtins.int
2488+
2489+
@property
2490+
def version_usages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___FragmentUsage]:
2491+
...
2492+
2493+
def __init__(self, *, version_usages: collections.abc.Iterable[global___FragmentUsage] | None=...) -> None:
2494+
...
2495+
2496+
def ClearField(self, field_name: typing.Literal['version_usages', b'version_usages']) -> None:
2497+
...
2498+
global___GetFragmentUsageResponse = GetFragmentUsageResponse
2499+
24712500
@typing.final
24722501
class ListRobotsRequest(google.protobuf.message.Message):
24732502
DESCRIPTOR: google.protobuf.descriptor.Descriptor

src/viam/proto/app/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@
9090
GetFragmentHistoryResponse,
9191
GetFragmentRequest,
9292
GetFragmentResponse,
93+
GetFragmentUsageRequest,
94+
GetFragmentUsageResponse,
9395
GetLocationRequest,
9496
GetLocationResponse,
9597
GetModuleRequest,
@@ -325,6 +327,8 @@
325327
"GetFragmentHistoryResponse",
326328
"GetFragmentRequest",
327329
"GetFragmentResponse",
330+
"GetFragmentUsageRequest",
331+
"GetFragmentUsageResponse",
328332
"GetLocationRequest",
329333
"GetLocationResponse",
330334
"GetModuleRequest",

src/viam/proto/robot/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
CancelOperationRequest,
1111
CancelOperationResponse,
1212
ConfigStatus,
13-
DiscoverComponentsRequest, # deprecated, remove on march 10th
14-
DiscoverComponentsResponse, # deprecated, remove on march 10th
13+
DiscoverComponentsRequest,
14+
DiscoverComponentsResponse,
1515
Discovery,
1616
DiscoveryQuery,
1717
FrameSystemConfig,
@@ -75,8 +75,8 @@
7575
"CancelOperationRequest",
7676
"CancelOperationResponse",
7777
"ConfigStatus",
78-
"DiscoverComponentsRequest", # deprecated, remove on march 10th
79-
"DiscoverComponentsResponse", # deprecated, remove on march 10th
78+
"DiscoverComponentsRequest",
79+
"DiscoverComponentsResponse",
8080
"Discovery",
8181
"DiscoveryQuery",
8282
"FrameSystemConfig",

src/viam/services/discovery/discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from typing import Final, List, Mapping, Optional
33

44
from viam.proto.app.robot import ComponentConfig
5-
from viam.resource.types import RESOURCE_NAMESPACE_RDK, RESOURCE_TYPE_SERVICE, API
5+
from viam.resource.types import API, RESOURCE_NAMESPACE_RDK, RESOURCE_TYPE_SERVICE
66
from viam.utils import ValueTypes
77

88
from ..service_base import ServiceBase

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.38.0"
22

3-
API_VERSION = "v0.1.389"
3+
API_VERSION = "v0.1.390"
44
SDK_VERSION = __version__

0 commit comments

Comments
 (0)