Skip to content

Commit

Permalink
feat: regenerate proto
Browse files Browse the repository at this point in the history
  • Loading branch information
yandex-cloud-bot committed Dec 21, 2024
1 parent 47a017e commit 3844d96
Show file tree
Hide file tree
Showing 46 changed files with 1,011 additions and 494 deletions.
2 changes: 1 addition & 1 deletion cloudapi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@


class SearchIndexServiceStub(object):
"""ThreadService provides operations for managing search indexes.
"""SearchIndexService provides operations for managing search indexes.
"""

def __init__(self, channel):
Expand Down Expand Up @@ -65,7 +65,7 @@ def __init__(self, channel):


class SearchIndexServiceServicer(object):
"""ThreadService provides operations for managing search indexes.
"""SearchIndexService provides operations for managing search indexes.
"""

def Create(self, request, context):
Expand Down Expand Up @@ -140,7 +140,7 @@ def add_SearchIndexServiceServicer_to_server(servicer, server):

# This class is part of an EXPERIMENTAL API.
class SearchIndexService(object):
"""ThreadService provides operations for managing search indexes.
"""SearchIndexService provides operations for managing search indexes.
"""

@staticmethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
...

class SearchIndexServiceStub:
"""ThreadService provides operations for managing search indexes."""
"""SearchIndexService provides operations for managing search indexes."""

def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
Create: grpc.UnaryUnaryMultiCallable[
Expand Down Expand Up @@ -54,7 +54,7 @@ class SearchIndexServiceStub:
"""List search indexes in a specific folder."""

class SearchIndexServiceAsyncStub:
"""ThreadService provides operations for managing search indexes."""
"""SearchIndexService provides operations for managing search indexes."""

Create: grpc.aio.UnaryUnaryMultiCallable[
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.CreateSearchIndexRequest,
Expand Down Expand Up @@ -87,7 +87,7 @@ class SearchIndexServiceAsyncStub:
"""List search indexes in a specific folder."""

class SearchIndexServiceServicer(metaclass=abc.ABCMeta):
"""ThreadService provides operations for managing search indexes."""
"""SearchIndexService provides operations for managing search indexes."""

@abc.abstractmethod
def Create(
Expand Down
4 changes: 3 additions & 1 deletion yandex/cloud/ai/dataset/v1/dataset_pb2.py

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

21 changes: 21 additions & 0 deletions yandex/cloud/ai/dataset/v1/dataset_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,24 @@ class ValidationError(google.protobuf.message.Message):
def ClearField(self, field_name: typing.Literal["error", b"error", "error_description", b"error_description", "row_numbers", b"row_numbers"]) -> None: ...

global___ValidationError = ValidationError

@typing.final
class DatasetUploadSchema(google.protobuf.message.Message):
DESCRIPTOR: google.protobuf.descriptor.Descriptor

TASK_TYPE_FIELD_NUMBER: builtins.int
UPLOAD_FORMAT_FIELD_NUMBER: builtins.int
SCHEMA_FIELD_NUMBER: builtins.int
task_type: builtins.str
upload_format: builtins.str
schema: builtins.str
def __init__(
self,
*,
task_type: builtins.str = ...,
upload_format: builtins.str = ...,
schema: builtins.str = ...,
) -> None: ...
def ClearField(self, field_name: typing.Literal["schema", b"schema", "task_type", b"task_type", "upload_format", b"upload_format"]) -> None: ...

global___DatasetUploadSchema = DatasetUploadSchema
Loading

0 comments on commit 3844d96

Please sign in to comment.