Skip to content

Commit ac6ab8c

Browse files
Automated Protos Update (#819)
Co-authored-by: viambot <[email protected]>
1 parent 203eba8 commit ac6ab8c

File tree

6 files changed

+123
-113
lines changed

6 files changed

+123
-113
lines changed

src/viam/gen/app/data/v1/data_pb2.py

+103-103
Large diffs are not rendered by default.

src/viam/gen/app/data/v1/data_pb2.pyi

+10-2
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,9 @@ class TabularDataByMQLRequest(google.protobuf.message.Message):
389389
DESCRIPTOR: google.protobuf.descriptor.Descriptor
390390
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
391391
MQL_BINARY_FIELD_NUMBER: builtins.int
392+
USE_RECENT_DATA_FIELD_NUMBER: builtins.int
392393
organization_id: builtins.str
394+
use_recent_data: builtins.bool
393395

394396
@property
395397
def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
@@ -398,10 +400,16 @@ class TabularDataByMQLRequest(google.protobuf.message.Message):
398400
namespace, which holds the Viam organization's tabular data.
399401
"""
400402

401-
def __init__(self, *, organization_id: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
403+
def __init__(self, *, organization_id: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=..., use_recent_data: builtins.bool | None=...) -> None:
402404
...
403405

404-
def ClearField(self, field_name: typing.Literal['mql_binary', b'mql_binary', 'organization_id', b'organization_id']) -> None:
406+
def HasField(self, field_name: typing.Literal['_use_recent_data', b'_use_recent_data', 'use_recent_data', b'use_recent_data']) -> builtins.bool:
407+
...
408+
409+
def ClearField(self, field_name: typing.Literal['_use_recent_data', b'_use_recent_data', 'mql_binary', b'mql_binary', 'organization_id', b'organization_id', 'use_recent_data', b'use_recent_data']) -> None:
410+
...
411+
412+
def WhichOneof(self, oneof_group: typing.Literal['_use_recent_data', b'_use_recent_data']) -> typing.Literal['use_recent_data'] | None:
405413
...
406414
global___TabularDataByMQLRequest = TabularDataByMQLRequest
407415

src/viam/proto/robot/__init__.py

+4-4
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,
@@ -73,8 +73,8 @@
7373
"CancelOperationRequest",
7474
"CancelOperationResponse",
7575
"ConfigStatus",
76-
"DiscoverComponentsRequest", # deprecated, remove on march 10th
77-
"DiscoverComponentsResponse", # deprecated, remove on march 10th
76+
"DiscoverComponentsRequest",
77+
"DiscoverComponentsResponse",
7878
"Discovery",
7979
"DiscoveryQuery",
8080
"FrameSystemConfig",

src/viam/robot/client.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -763,9 +763,12 @@ async def discover_components(
763763
response: DiscoverComponentsResponse = await self._client.DiscoverComponents(request)
764764
warnings.warn(
765765
"RobotClient.discover_components is deprecated. It will be removed on March 10 2025. Use the DiscoveryService APIs instead.",
766-
DeprecationWarning, stacklevel=2)
766+
DeprecationWarning,
767+
stacklevel=2,
768+
)
767769
LOGGER.warning(
768-
"RobotClient.discover_components is deprecated. It will be removed on March 10 2025. Use the DiscoveryService APIs instead.")
770+
"RobotClient.discover_components is deprecated. It will be removed on March 10 2025. Use the DiscoveryService APIs instead."
771+
)
769772
return list(response.discovery)
770773

771774
############

src/viam/version_metadata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__version__ = "0.37.0"
22

3-
API_VERSION = "v0.1.380"
3+
API_VERSION = "v0.1.381"
44
SDK_VERSION = __version__

uv.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)