Skip to content

Commit

Permalink
Automated Protos Update (#770)
Browse files Browse the repository at this point in the history
Co-authored-by: viambot <[email protected]>
  • Loading branch information
github-actions[bot] and viambot authored Oct 22, 2024
1 parent 645e10e commit 02566d6
Show file tree
Hide file tree
Showing 7 changed files with 223 additions and 200 deletions.
188 changes: 94 additions & 94 deletions src/viam/gen/app/data/v1/data_pb2.py

Large diffs are not rendered by default.

18 changes: 14 additions & 4 deletions src/viam/gen/app/data/v1/data_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -371,15 +371,20 @@ class TabularDataBySQLResponse(google.protobuf.message.Message):
"""TabularDataBySQLResponse provides unified tabular data and metadata, queried with SQL."""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
DATA_FIELD_NUMBER: builtins.int
RAW_DATA_FIELD_NUMBER: builtins.int

@property
def data(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]:
...

def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=...) -> None:
@property
def raw_data(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
...

def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=..., raw_data: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
...

def ClearField(self, field_name: typing.Literal['data', b'data']) -> None:
def ClearField(self, field_name: typing.Literal['data', b'data', 'raw_data', b'raw_data']) -> None:
...
global___TabularDataBySQLResponse = TabularDataBySQLResponse

Expand Down Expand Up @@ -410,15 +415,20 @@ class TabularDataByMQLResponse(google.protobuf.message.Message):
"""TabularDataByMQLResponse provides unified tabular data and metadata, queried with MQL."""
DESCRIPTOR: google.protobuf.descriptor.Descriptor
DATA_FIELD_NUMBER: builtins.int
RAW_DATA_FIELD_NUMBER: builtins.int

@property
def data(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]:
...

def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=...) -> None:
@property
def raw_data(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
...

def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=..., raw_data: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
...

def ClearField(self, field_name: typing.Literal['data', b'data']) -> None:
def ClearField(self, field_name: typing.Literal['data', b'data', 'raw_data', b'raw_data']) -> None:
...
global___TabularDataByMQLResponse = TabularDataByMQLResponse

Expand Down
138 changes: 69 additions & 69 deletions src/viam/gen/app/v1/app_pb2.py

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions src/viam/gen/app/v1/app_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3009,17 +3009,25 @@ class ModuleFileInfo(google.protobuf.message.Message):
MODULE_ID_FIELD_NUMBER: builtins.int
VERSION_FIELD_NUMBER: builtins.int
PLATFORM_FIELD_NUMBER: builtins.int
PLATFORM_TAGS_FIELD_NUMBER: builtins.int
module_id: builtins.str
"The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)"
version: builtins.str
'The semver string that represents the new major/minor/patch version of the module'
platform: builtins.str
'The platform that the file is built to run on'

def __init__(self, *, module_id: builtins.str=..., version: builtins.str=..., platform: builtins.str=...) -> None:
@property
def platform_tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
"""Platform tag constraints. When a robot requests its config, it uploads a platform and a list of
platform tags. The platform is checked against `platform` above, and the tags are checked against
this list.
"""

def __init__(self, *, module_id: builtins.str=..., version: builtins.str=..., platform: builtins.str=..., platform_tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
...

def ClearField(self, field_name: typing.Literal['module_id', b'module_id', 'platform', b'platform', 'version', b'version']) -> None:
def ClearField(self, field_name: typing.Literal['module_id', b'module_id', 'platform', b'platform', 'platform_tags', b'platform_tags', 'version', b'version']) -> None:
...
global___ModuleFileInfo = ModuleFileInfo

Expand Down
56 changes: 28 additions & 28 deletions src/viam/gen/app/v1/robot_pb2.py

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions src/viam/gen/app/v1/robot_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ class AgentInfo(google.protobuf.message.Message):
VERSION_FIELD_NUMBER: builtins.int
GIT_REVISION_FIELD_NUMBER: builtins.int
PLATFORM_FIELD_NUMBER: builtins.int
PLATFORM_TAGS_FIELD_NUMBER: builtins.int
host: builtins.str
os: builtins.str
'Will soon be deprecated, use platform instead'
Expand All @@ -898,13 +899,17 @@ class AgentInfo(google.protobuf.message.Message):
def ips(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
"""list of all ipv4 ips."""

def __init__(self, *, host: builtins.str=..., os: builtins.str=..., ips: collections.abc.Iterable[builtins.str] | None=..., version: builtins.str=..., git_revision: builtins.str=..., platform: builtins.str | None=...) -> None:
@property
def platform_tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
"""Optional tags to further constrain which artifact is returned for modules."""

def __init__(self, *, host: builtins.str=..., os: builtins.str=..., ips: collections.abc.Iterable[builtins.str] | None=..., version: builtins.str=..., git_revision: builtins.str=..., platform: builtins.str | None=..., platform_tags: collections.abc.Iterable[builtins.str] | None=...) -> None:
...

def HasField(self, field_name: typing.Literal['_platform', b'_platform', 'platform', b'platform']) -> builtins.bool:
...

def ClearField(self, field_name: typing.Literal['_platform', b'_platform', 'git_revision', b'git_revision', 'host', b'host', 'ips', b'ips', 'os', b'os', 'platform', b'platform', 'version', b'version']) -> None:
def ClearField(self, field_name: typing.Literal['_platform', b'_platform', 'git_revision', b'git_revision', 'host', b'host', 'ips', b'ips', 'os', b'os', 'platform', b'platform', 'platform_tags', b'platform_tags', 'version', b'version']) -> None:
...

def WhichOneof(self, oneof_group: typing.Literal['_platform', b'_platform']) -> typing.Literal['platform'] | None:
Expand Down
2 changes: 1 addition & 1 deletion src/viam/version_metadata.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.31.1"

API_VERSION = "v0.1.348"
API_VERSION = "v0.1.350"
SDK_VERSION = __version__

0 comments on commit 02566d6

Please sign in to comment.