Skip to content

Commit

Permalink
Update [vald sha: dee4c3fa77ba33c45af36b746eeef0d6d1c2e6df]
Browse files Browse the repository at this point in the history
Signed-off-by: Vdaas CI <vald@vdaas.org>
  • Loading branch information
vdaas-ci committed Oct 16, 2024
1 parent 4169aaa commit 81f7db5
Show file tree
Hide file tree
Showing 23 changed files with 365 additions and 252 deletions.
2 changes: 1 addition & 1 deletion VALD_CLIENT_PYTHON_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.13
1.7.14
2 changes: 1 addition & 1 deletion VALD_SHA
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f072c79c1bf7848af0a752c438f970ae567e66b6
dee4c3fa77ba33c45af36b746eeef0d6d1c2e6df
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = vald-client-python
version = 1.7.13
version = 1.7.14
url = https://github.com/vdaas/vald-client-python
description = a client library for Vald (https://github.com/vdaas/vald).
long_description = file: README.md
Expand Down
6 changes: 3 additions & 3 deletions src/buf/validate/expression_pb2.py

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

6 changes: 3 additions & 3 deletions src/buf/validate/priv/private_pb2.py

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

6 changes: 3 additions & 3 deletions src/buf/validate/validate_pb2.py

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

6 changes: 3 additions & 3 deletions src/google/api/annotations_pb2.py

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

6 changes: 3 additions & 3 deletions src/google/api/http_pb2.py

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

6 changes: 3 additions & 3 deletions src/google/rpc/status_pb2.py

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

6 changes: 3 additions & 3 deletions src/vald/v1/agent/core/agent_pb2.py

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

6 changes: 3 additions & 3 deletions src/vald/v1/filter/egress/egress_filter_pb2.py

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

6 changes: 3 additions & 3 deletions src/vald/v1/filter/ingress/ingress_filter_pb2.py

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

409 changes: 215 additions & 194 deletions src/vald/v1/payload/payload_pb2.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/vald/v1/vald/filter_pb2.py

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

12 changes: 7 additions & 5 deletions src/vald/v1/vald/index_pb2.py

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

44 changes: 44 additions & 0 deletions src/vald/v1/vald/index_pb2_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ def __init__(self, channel):
request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Empty.SerializeToString,
response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Info.Index.StatisticsDetail.FromString,
_registered_method=True)
self.IndexProperty = channel.unary_unary(
'/vald.v1.Index/IndexProperty',
request_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Empty.SerializeToString,
response_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Info.Index.PropertyDetail.FromString,
_registered_method=True)


class IndexServicer(object):
Expand Down Expand Up @@ -69,6 +74,13 @@ def IndexStatisticsDetail(self, request, context):
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')

def IndexProperty(self, request, context):
"""Represent the RPC to get the index property.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')


def add_IndexServicer_to_server(servicer, server):
rpc_method_handlers = {
Expand All @@ -92,6 +104,11 @@ def add_IndexServicer_to_server(servicer, server):
request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Empty.FromString,
response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Info.Index.StatisticsDetail.SerializeToString,
),
'IndexProperty': grpc.unary_unary_rpc_method_handler(
servicer.IndexProperty,
request_deserializer=vald_dot_v1_dot_payload_dot_payload__pb2.Empty.FromString,
response_serializer=vald_dot_v1_dot_payload_dot_payload__pb2.Info.Index.PropertyDetail.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'vald.v1.Index', rpc_method_handlers)
Expand Down Expand Up @@ -211,3 +228,30 @@ def IndexStatisticsDetail(request,
timeout,
metadata,
_registered_method=True)

@staticmethod
def IndexProperty(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(
request,
target,
'/vald.v1.Index/IndexProperty',
vald_dot_v1_dot_payload_dot_payload__pb2.Empty.SerializeToString,
vald_dot_v1_dot_payload_dot_payload__pb2.Info.Index.PropertyDetail.FromString,
options,
channel_credentials,
insecure,
call_credentials,
compression,
wait_for_ready,
timeout,
metadata,
_registered_method=True)
6 changes: 3 additions & 3 deletions src/vald/v1/vald/insert_pb2.py

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

6 changes: 3 additions & 3 deletions src/vald/v1/vald/object_pb2.py

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

6 changes: 3 additions & 3 deletions src/vald/v1/vald/remove_pb2.py

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

Loading

0 comments on commit 81f7db5

Please sign in to comment.