Skip to content

Commit 81f09df

Browse files
authored
Automated Protos Update (#919)
1 parent ac37fc0 commit 81f09df

File tree

3 files changed

+218
-193
lines changed

3 files changed

+218
-193
lines changed

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

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

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

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3591,6 +3591,7 @@ class ModuleVersion(google.protobuf.message.Message):
35913591
ENTRYPOINT_FIELD_NUMBER: builtins.int
35923592
FIRST_RUN_FIELD_NUMBER: builtins.int
35933593
MARKDOWN_DESCRIPTION_FIELD_NUMBER: builtins.int
3594+
APPS_FIELD_NUMBER: builtins.int
35943595
version: builtins.str
35953596
'The semver string that represents the major/minor/patch version of the module'
35963597
entrypoint: builtins.str
@@ -3608,13 +3609,17 @@ class ModuleVersion(google.protobuf.message.Message):
36083609
def models(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Model]:
36093610
"""The models that this verion of the module provides"""
36103611

3611-
def __init__(self, *, version: builtins.str=..., files: collections.abc.Iterable[global___Uploads] | None=..., models: collections.abc.Iterable[global___Model] | None=..., entrypoint: builtins.str=..., first_run: builtins.str | None=..., markdown_description: builtins.str | None=...) -> None:
3612+
@property
3613+
def apps(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___App]:
3614+
"""A list of applications associated with the module"""
3615+
3616+
def __init__(self, *, version: builtins.str=..., files: collections.abc.Iterable[global___Uploads] | None=..., models: collections.abc.Iterable[global___Model] | None=..., entrypoint: builtins.str=..., first_run: builtins.str | None=..., markdown_description: builtins.str | None=..., apps: collections.abc.Iterable[global___App] | None=...) -> None:
36123617
...
36133618

36143619
def HasField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'first_run', b'first_run', 'markdown_description', b'markdown_description']) -> builtins.bool:
36153620
...
36163621

3617-
def ClearField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'entrypoint', b'entrypoint', 'files', b'files', 'first_run', b'first_run', 'markdown_description', b'markdown_description', 'models', b'models', 'version', b'version']) -> None:
3622+
def ClearField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'apps', b'apps', 'entrypoint', b'entrypoint', 'files', b'files', 'first_run', b'first_run', 'markdown_description', b'markdown_description', 'models', b'models', 'version', b'version']) -> None:
36183623
...
36193624

36203625
@typing.overload
@@ -3634,6 +3639,7 @@ class ModuleMetadata(google.protobuf.message.Message):
36343639
ENTRYPOINT_FIELD_NUMBER: builtins.int
36353640
FIRST_RUN_FIELD_NUMBER: builtins.int
36363641
MARKDOWN_DESCRIPTION_FIELD_NUMBER: builtins.int
3642+
APPS_FIELD_NUMBER: builtins.int
36373643
entrypoint: builtins.str
36383644
'The executable to run to start the module program'
36393645
first_run: builtins.str
@@ -3651,13 +3657,17 @@ class ModuleMetadata(google.protobuf.message.Message):
36513657
When this is returned from the backend, the versions are sorted in ascending order by the semver version
36523658
"""
36533659

3654-
def __init__(self, *, models: collections.abc.Iterable[global___Model] | None=..., versions: collections.abc.Iterable[global___ModuleVersion] | None=..., entrypoint: builtins.str=..., first_run: builtins.str | None=..., markdown_description: builtins.str | None=...) -> None:
3660+
@property
3661+
def apps(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___App]:
3662+
"""A list of applications associated with the module"""
3663+
3664+
def __init__(self, *, models: collections.abc.Iterable[global___Model] | None=..., versions: collections.abc.Iterable[global___ModuleVersion] | None=..., entrypoint: builtins.str=..., first_run: builtins.str | None=..., markdown_description: builtins.str | None=..., apps: collections.abc.Iterable[global___App] | None=...) -> None:
36553665
...
36563666

36573667
def HasField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'first_run', b'first_run', 'markdown_description', b'markdown_description']) -> builtins.bool:
36583668
...
36593669

3660-
def ClearField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'entrypoint', b'entrypoint', 'first_run', b'first_run', 'markdown_description', b'markdown_description', 'models', b'models', 'versions', b'versions']) -> None:
3670+
def ClearField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'apps', b'apps', 'entrypoint', b'entrypoint', 'first_run', b'first_run', 'markdown_description', b'markdown_description', 'models', b'models', 'versions', b'versions']) -> None:
36613671
...
36623672

36633673
@typing.overload
@@ -4225,17 +4235,22 @@ class UpdateModuleMetadata(google.protobuf.message.Message):
42254235
DESCRIPTOR: google.protobuf.descriptor.Descriptor
42264236
MODELS_FIELD_NUMBER: builtins.int
42274237
ENTRYPOINT_FIELD_NUMBER: builtins.int
4238+
APPS_FIELD_NUMBER: builtins.int
42284239
entrypoint: builtins.str
42294240
'The executable to run to start the module program'
42304241

42314242
@property
42324243
def models(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Model]:
42334244
"""A list of models that are available in the module"""
42344245

4235-
def __init__(self, *, models: collections.abc.Iterable[global___Model] | None=..., entrypoint: builtins.str=...) -> None:
4246+
@property
4247+
def apps(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___App]:
4248+
"""A list of applications associated with the module"""
4249+
4250+
def __init__(self, *, models: collections.abc.Iterable[global___Model] | None=..., entrypoint: builtins.str=..., apps: collections.abc.Iterable[global___App] | None=...) -> None:
42364251
...
42374252

4238-
def ClearField(self, field_name: typing.Literal['entrypoint', b'entrypoint', 'models', b'models']) -> None:
4253+
def ClearField(self, field_name: typing.Literal['apps', b'apps', 'entrypoint', b'entrypoint', 'models', b'models']) -> None:
42394254
...
42404255
global___UpdateModuleMetadata = UpdateModuleMetadata
42414256

@@ -4435,6 +4450,7 @@ class Module(google.protobuf.message.Message):
44354450
PUBLIC_NAMESPACE_FIELD_NUMBER: builtins.int
44364451
FIRST_RUN_FIELD_NUMBER: builtins.int
44374452
MARKDOWN_DESCRIPTION_FIELD_NUMBER: builtins.int
4453+
APPS_FIELD_NUMBER: builtins.int
44384454
module_id: builtins.str
44394455
"The id of the module (formatted as prefix:name where prefix is the module owner's orgid or namespace)"
44404456
name: builtins.str
@@ -4470,13 +4486,17 @@ class Module(google.protobuf.message.Message):
44704486
def models(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Model]:
44714487
"""A list of models that are available in the module"""
44724488

4473-
def __init__(self, *, module_id: builtins.str=..., name: builtins.str=..., visibility: global___Visibility.ValueType=..., versions: collections.abc.Iterable[global___VersionHistory] | None=..., url: builtins.str=..., description: builtins.str=..., models: collections.abc.Iterable[global___Model] | None=..., total_robot_usage: builtins.int=..., total_organization_usage: builtins.int=..., organization_id: builtins.str=..., entrypoint: builtins.str=..., public_namespace: builtins.str=..., first_run: builtins.str | None=..., markdown_description: builtins.str | None=...) -> None:
4489+
@property
4490+
def apps(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___App]:
4491+
"""A list of applications associated with the module"""
4492+
4493+
def __init__(self, *, module_id: builtins.str=..., name: builtins.str=..., visibility: global___Visibility.ValueType=..., versions: collections.abc.Iterable[global___VersionHistory] | None=..., url: builtins.str=..., description: builtins.str=..., models: collections.abc.Iterable[global___Model] | None=..., total_robot_usage: builtins.int=..., total_organization_usage: builtins.int=..., organization_id: builtins.str=..., entrypoint: builtins.str=..., public_namespace: builtins.str=..., first_run: builtins.str | None=..., markdown_description: builtins.str | None=..., apps: collections.abc.Iterable[global___App] | None=...) -> None:
44744494
...
44754495

44764496
def HasField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'first_run', b'first_run', 'markdown_description', b'markdown_description']) -> builtins.bool:
44774497
...
44784498

4479-
def ClearField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'description', b'description', 'entrypoint', b'entrypoint', 'first_run', b'first_run', 'markdown_description', b'markdown_description', 'models', b'models', 'module_id', b'module_id', 'name', b'name', 'organization_id', b'organization_id', 'public_namespace', b'public_namespace', 'total_organization_usage', b'total_organization_usage', 'total_robot_usage', b'total_robot_usage', 'url', b'url', 'versions', b'versions', 'visibility', b'visibility']) -> None:
4499+
def ClearField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'apps', b'apps', 'description', b'description', 'entrypoint', b'entrypoint', 'first_run', b'first_run', 'markdown_description', b'markdown_description', 'models', b'models', 'module_id', b'module_id', 'name', b'name', 'organization_id', b'organization_id', 'public_namespace', b'public_namespace', 'total_organization_usage', b'total_organization_usage', 'total_robot_usage', b'total_robot_usage', 'url', b'url', 'versions', b'versions', 'visibility', b'visibility']) -> None:
44804500
...
44814501

44824502
@typing.overload
@@ -4497,6 +4517,7 @@ class VersionHistory(google.protobuf.message.Message):
44974517
ENTRYPOINT_FIELD_NUMBER: builtins.int
44984518
FIRST_RUN_FIELD_NUMBER: builtins.int
44994519
MARKDOWN_DESCRIPTION_FIELD_NUMBER: builtins.int
4520+
APPS_FIELD_NUMBER: builtins.int
45004521
version: builtins.str
45014522
'The semver string that represents the major/minor/patch version of the module'
45024523
entrypoint: builtins.str
@@ -4514,13 +4535,17 @@ class VersionHistory(google.protobuf.message.Message):
45144535
def models(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Model]:
45154536
"""The models that this verion of the module provides"""
45164537

4517-
def __init__(self, *, version: builtins.str=..., files: collections.abc.Iterable[global___Uploads] | None=..., models: collections.abc.Iterable[global___Model] | None=..., entrypoint: builtins.str=..., first_run: builtins.str | None=..., markdown_description: builtins.str | None=...) -> None:
4538+
@property
4539+
def apps(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___App]:
4540+
"""A list of applications associated with the module"""
4541+
4542+
def __init__(self, *, version: builtins.str=..., files: collections.abc.Iterable[global___Uploads] | None=..., models: collections.abc.Iterable[global___Model] | None=..., entrypoint: builtins.str=..., first_run: builtins.str | None=..., markdown_description: builtins.str | None=..., apps: collections.abc.Iterable[global___App] | None=...) -> None:
45184543
...
45194544

45204545
def HasField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'first_run', b'first_run', 'markdown_description', b'markdown_description']) -> builtins.bool:
45214546
...
45224547

4523-
def ClearField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'entrypoint', b'entrypoint', 'files', b'files', 'first_run', b'first_run', 'markdown_description', b'markdown_description', 'models', b'models', 'version', b'version']) -> None:
4548+
def ClearField(self, field_name: typing.Literal['_first_run', b'_first_run', '_markdown_description', b'_markdown_description', 'apps', b'apps', 'entrypoint', b'entrypoint', 'files', b'files', 'first_run', b'first_run', 'markdown_description', b'markdown_description', 'models', b'models', 'version', b'version']) -> None:
45244549
...
45254550

45264551
@typing.overload

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

3-
API_VERSION = "v0.1.434"
3+
API_VERSION = "v0.1.435"
44
SDK_VERSION = __version__

0 commit comments

Comments
 (0)