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@e0d4056
  • Loading branch information
droplet-bot committed Sep 20, 2024
1 parent c1221c1 commit 338c15e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 14 deletions.
20 changes: 10 additions & 10 deletions app/app/v1alpha/app_public_service_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ def Readiness(self, request, context):
raise NotImplementedError('Method not implemented!')

def CreateCatalog(self, request, context):
"""Create a catalog
"""TODO improve public endpoint definitions with title and description.
Create a catalog
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
Expand Down
15 changes: 12 additions & 3 deletions artifact/artifact/v1alpha/artifact_public_service_pb2_grpc.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ class ArtifactPublicServiceStub:
artifact.artifact.v1alpha.artifact_pb2.CreateCatalogRequest,
artifact.artifact.v1alpha.artifact_pb2.CreateCatalogResponse,
]
"""Create a catalog"""
"""TODO improve public endpoint definitions with title and description.
Create a catalog
"""
ListCatalogs: grpc.UnaryUnaryMultiCallable[
artifact.artifact.v1alpha.artifact_pb2.ListCatalogsRequest,
artifact.artifact.v1alpha.artifact_pb2.ListCatalogsResponse,
Expand Down Expand Up @@ -138,7 +141,10 @@ class ArtifactPublicServiceAsyncStub:
artifact.artifact.v1alpha.artifact_pb2.CreateCatalogRequest,
artifact.artifact.v1alpha.artifact_pb2.CreateCatalogResponse,
]
"""Create a catalog"""
"""TODO improve public endpoint definitions with title and description.
Create a catalog
"""
ListCatalogs: grpc.aio.UnaryUnaryMultiCallable[
artifact.artifact.v1alpha.artifact_pb2.ListCatalogsRequest,
artifact.artifact.v1alpha.artifact_pb2.ListCatalogsResponse,
Expand Down Expand Up @@ -236,7 +242,10 @@ class ArtifactPublicServiceServicer(metaclass=abc.ABCMeta):
request: artifact.artifact.v1alpha.artifact_pb2.CreateCatalogRequest,
context: _ServicerContext,
) -> typing.Union[artifact.artifact.v1alpha.artifact_pb2.CreateCatalogResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.artifact_pb2.CreateCatalogResponse]]:
"""Create a catalog"""
"""TODO improve public endpoint definitions with title and description.
Create a catalog
"""
@abc.abstractmethod
def ListCatalogs(
self,
Expand Down

0 comments on commit 338c15e

Please sign in to comment.