Skip to content

Commit

Permalink
chore: auto-gen by protobufs
Browse files Browse the repository at this point in the history
triggered by commit: instill-ai/protobufs@bcac24f
  • Loading branch information
droplet-bot committed Jun 20, 2024
1 parent 8ab109b commit 67376ee
Show file tree
Hide file tree
Showing 4 changed files with 257 additions and 257 deletions.
408 changes: 204 additions & 204 deletions model/model/v1alpha/model_pb2.py

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions model/model/v1alpha/model_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class ModelVersion(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

NAME_FIELD_NUMBER: builtins.int
ID_FIELD_NUMBER: builtins.int
VERSION_FIELD_NUMBER: builtins.int
DIGEST_FIELD_NUMBER: builtins.int
STATE_FIELD_NUMBER: builtins.int
UPDATE_TIME_FIELD_NUMBER: builtins.int
Expand All @@ -213,8 +213,8 @@ class ModelVersion(google.protobuf.message.Message):
The name of the tag.
- Format: `users/{user.id}/models/{model.id}/versions/{version.id}`.
"""
id: builtins.str
"""The tag identifier."""
version: builtins.str
"""The model version identifier, which is equal to image tag."""
digest: builtins.str
"""Unique identifier, computed from the manifest the tag refers to."""
state: global___State.ValueType
Expand All @@ -226,13 +226,13 @@ class ModelVersion(google.protobuf.message.Message):
self,
*,
name: builtins.str = ...,
id: builtins.str = ...,
version: builtins.str = ...,
digest: builtins.str = ...,
state: global___State.ValueType = ...,
update_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["update_time", b"update_time"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["digest", b"digest", "id", b"id", "name", b"name", "state", b"state", "update_time", b"update_time"]) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["digest", b"digest", "name", b"name", "state", b"state", "update_time", b"update_time", "version", b"version"]) -> None: ...

global___ModelVersion = ModelVersion

Expand Down
24 changes: 12 additions & 12 deletions model/model/v1alpha/model_public_service_pb2_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,9 @@ def GetUserModelCard(self, request, context):
def WatchUserModel(self, request, context):
"""Watch the state of a model version
Returns the state of a model. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of a model. The model resource allocation and scaling actions take some
time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
Expand All @@ -421,9 +421,9 @@ def WatchUserModel(self, request, context):
def WatchUserLatestModel(self, request, context):
"""Watch the state of the latest model version
Returns the state of the latest model version. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of the latest model version. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
Expand Down Expand Up @@ -590,9 +590,9 @@ def GetOrganizationModelCard(self, request, context):
def WatchOrganizationModel(self, request, context):
"""Watch the state of a model version
Returns the state of a model. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of a model. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
Expand All @@ -601,9 +601,9 @@ def WatchOrganizationModel(self, request, context):
def WatchOrganizationLatestModel(self, request, context):
"""Watch the state of the latest model version
Returns the state of the latest model version. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of the latest model version. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
Expand Down
72 changes: 36 additions & 36 deletions model/model/v1alpha/model_public_service_pb2_grpc.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -175,19 +175,19 @@ class ModelPublicServiceStub:
]
"""Watch the state of a model version
Returns the state of a model. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of a model. The model resource allocation and scaling actions take some
time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
WatchUserLatestModel: grpc.UnaryUnaryMultiCallable[
model.model.v1alpha.model_pb2.WatchUserLatestModelRequest,
model.model.v1alpha.model_pb2.WatchUserLatestModelResponse,
]
"""Watch the state of the latest model version
Returns the state of the latest model version. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of the latest model version. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
ListUserModelVersions: grpc.UnaryUnaryMultiCallable[
model.model.v1alpha.model_pb2.ListUserModelVersionsRequest,
Expand Down Expand Up @@ -338,19 +338,19 @@ class ModelPublicServiceStub:
]
"""Watch the state of a model version
Returns the state of a model. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of a model. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
WatchOrganizationLatestModel: grpc.UnaryUnaryMultiCallable[
model.model.v1alpha.model_pb2.WatchOrganizationLatestModelRequest,
model.model.v1alpha.model_pb2.WatchOrganizationLatestModelResponse,
]
"""Watch the state of the latest model version
Returns the state of the latest model version. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of the latest model version. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
ListOrganizationModelVersions: grpc.UnaryUnaryMultiCallable[
model.model.v1alpha.model_pb2.ListOrganizationModelVersionsRequest,
Expand Down Expand Up @@ -592,19 +592,19 @@ class ModelPublicServiceAsyncStub:
]
"""Watch the state of a model version
Returns the state of a model. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of a model. The model resource allocation and scaling actions take some
time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
WatchUserLatestModel: grpc.aio.UnaryUnaryMultiCallable[
model.model.v1alpha.model_pb2.WatchUserLatestModelRequest,
model.model.v1alpha.model_pb2.WatchUserLatestModelResponse,
]
"""Watch the state of the latest model version
Returns the state of the latest model version. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of the latest model version. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
ListUserModelVersions: grpc.aio.UnaryUnaryMultiCallable[
model.model.v1alpha.model_pb2.ListUserModelVersionsRequest,
Expand Down Expand Up @@ -755,19 +755,19 @@ class ModelPublicServiceAsyncStub:
]
"""Watch the state of a model version
Returns the state of a model. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of a model. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
WatchOrganizationLatestModel: grpc.aio.UnaryUnaryMultiCallable[
model.model.v1alpha.model_pb2.WatchOrganizationLatestModelRequest,
model.model.v1alpha.model_pb2.WatchOrganizationLatestModelResponse,
]
"""Watch the state of the latest model version
Returns the state of the latest model version. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of the latest model version. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
ListOrganizationModelVersions: grpc.aio.UnaryUnaryMultiCallable[
model.model.v1alpha.model_pb2.ListOrganizationModelVersionsRequest,
Expand Down Expand Up @@ -1043,9 +1043,9 @@ class ModelPublicServiceServicer(metaclass=abc.ABCMeta):
) -> typing.Union[model.model.v1alpha.model_pb2.WatchUserModelResponse, collections.abc.Awaitable[model.model.v1alpha.model_pb2.WatchUserModelResponse]]:
"""Watch the state of a model version
Returns the state of a model. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of a model. The model resource allocation and scaling actions take some
time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
@abc.abstractmethod
def WatchUserLatestModel(
Expand All @@ -1055,9 +1055,9 @@ class ModelPublicServiceServicer(metaclass=abc.ABCMeta):
) -> typing.Union[model.model.v1alpha.model_pb2.WatchUserLatestModelResponse, collections.abc.Awaitable[model.model.v1alpha.model_pb2.WatchUserLatestModelResponse]]:
"""Watch the state of the latest model version
Returns the state of the latest model version. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of the latest model version. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
@abc.abstractmethod
def ListUserModelVersions(
Expand Down Expand Up @@ -1240,9 +1240,9 @@ class ModelPublicServiceServicer(metaclass=abc.ABCMeta):
) -> typing.Union[model.model.v1alpha.model_pb2.WatchOrganizationModelResponse, collections.abc.Awaitable[model.model.v1alpha.model_pb2.WatchOrganizationModelResponse]]:
"""Watch the state of a model version
Returns the state of a model. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of a model. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
@abc.abstractmethod
def WatchOrganizationLatestModel(
Expand All @@ -1252,9 +1252,9 @@ class ModelPublicServiceServicer(metaclass=abc.ABCMeta):
) -> typing.Union[model.model.v1alpha.model_pb2.WatchOrganizationLatestModelResponse, collections.abc.Awaitable[model.model.v1alpha.model_pb2.WatchOrganizationLatestModelResponse]]:
"""Watch the state of the latest model version
Returns the state of the latest model version. The deploy / undeploy actions take some
time, during which a model will be in an UNSPECIFIED state. This endpoint
allows clients to track the state and progress of the model.
Returns the state of the latest model version. The model resource allocation and scaling actions
take some time, during which a model will be in various state. This endpoint
allows clients to track the state.
"""
@abc.abstractmethod
def ListOrganizationModelVersions(
Expand Down

0 comments on commit 67376ee

Please sign in to comment.