vald-client-python 1.7.16__tar.gz → 1.8.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/LICENSE +2 -2
  2. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/PKG-INFO +11 -2
  3. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/README.md +5 -0
  4. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/setup.cfg +1 -1
  5. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/buf/validate/expression_pb2.py +4 -4
  6. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/buf/validate/priv/private_pb2.py +4 -4
  7. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/buf/validate/validate_pb2.py +4 -4
  8. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/google/api/annotations_pb2.py +4 -4
  9. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/google/api/http_pb2.py +4 -4
  10. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/google/rpc/status_pb2.py +4 -4
  11. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/agent/core/agent_pb2.py +4 -4
  12. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/agent/core/agent_pb2_grpc.py +3 -3
  13. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/filter/egress/egress_filter_pb2.py +4 -4
  14. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/filter/egress/egress_filter_pb2_grpc.py +3 -3
  15. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/filter/ingress/ingress_filter_pb2.py +4 -4
  16. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/filter/ingress/ingress_filter_pb2_grpc.py +3 -3
  17. vald_client_python-1.8.0/src/vald/v1/payload/payload_pb2.py +301 -0
  18. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/rpc/errdetails/error_details_pb2.py +4 -4
  19. vald_client_python-1.8.0/src/vald/v1/rpc/stats/stats_pb2.py +41 -0
  20. vald_client_python-1.8.0/src/vald/v1/rpc/stats/stats_pb2_grpc.py +85 -0
  21. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/filter_pb2.py +4 -4
  22. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/filter_pb2_grpc.py +3 -3
  23. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/flush_pb2.py +4 -4
  24. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/flush_pb2_grpc.py +3 -3
  25. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/index_pb2.py +4 -4
  26. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/index_pb2_grpc.py +3 -3
  27. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/insert_pb2.py +4 -4
  28. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/insert_pb2_grpc.py +4 -4
  29. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/object_pb2.py +4 -4
  30. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/object_pb2_grpc.py +3 -3
  31. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/remove_pb2.py +4 -4
  32. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/remove_pb2_grpc.py +3 -3
  33. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/search_pb2.py +4 -4
  34. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/search_pb2_grpc.py +3 -3
  35. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/update_pb2.py +4 -4
  36. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/update_pb2_grpc.py +3 -3
  37. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/upsert_pb2.py +4 -4
  38. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/vald/upsert_pb2_grpc.py +3 -3
  39. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald_client_python.egg-info/PKG-INFO +11 -2
  40. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald_client_python.egg-info/SOURCES.txt +2 -0
  41. vald-client-python-1.7.16/src/vald/v1/payload/payload_pb2.py +0 -295
  42. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/setup.py +0 -0
  43. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/buf/validate/expression_pb2_grpc.py +0 -0
  44. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/buf/validate/priv/private_pb2_grpc.py +0 -0
  45. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/buf/validate/validate_pb2_grpc.py +0 -0
  46. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/google/api/annotations_pb2_grpc.py +0 -0
  47. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/google/api/http_pb2_grpc.py +0 -0
  48. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/google/rpc/status_pb2_grpc.py +0 -0
  49. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/payload/payload_pb2_grpc.py +0 -0
  50. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald/v1/rpc/errdetails/error_details_pb2_grpc.py +0 -0
  51. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald_client_python.egg-info/dependency_links.txt +0 -0
  52. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald_client_python.egg-info/not-zip-safe +0 -0
  53. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald_client_python.egg-info/requires.txt +0 -0
  54. {vald-client-python-1.7.16 → vald_client_python-1.8.0}/src/vald_client_python.egg-info/top_level.txt +0 -0
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright (C) 2019-2024 vdaas.org vald team <vald@vdaas.org>
189
+ Copyright (C) 2019-2026 vdaas.org vald team <vald@vdaas.org>
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  You may not use this file except in compliance with the License.
@@ -198,4 +198,4 @@
198
198
  distributed under the License is distributed on an "AS IS" BASIS,
199
199
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
200
  See the License for the specific language governing permissions and
201
- limitations under the License.
201
+ limitations under the License.
@@ -1,12 +1,16 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: vald-client-python
3
- Version: 1.7.16
3
+ Version: 1.8.0
4
4
  Summary: a client library for Vald (https://github.com/vdaas/vald).
5
5
  Home-page: https://github.com/vdaas/vald-client-python
6
6
  Author: vald team
7
7
  Author-email: vald@vdaas.org
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
+ Requires-Dist: protobuf
11
+ Requires-Dist: grpcio
12
+ Requires-Dist: googleapis-common-protos
13
+ Dynamic: license-file
10
14
 
11
15
  # vald-client-python
12
16
 
@@ -34,6 +38,7 @@ from vald.v1.vald import insert_pb2_grpc
34
38
  from vald.v1.vald import search_pb2_grpc
35
39
  from vald.v1.vald import update_pb2_grpc
36
40
  from vald.v1.vald import remove_pb2_grpc
41
+ from vald.v1.vald import flush_pb2_grpc
37
42
  from vald.v1.payload import payload_pb2
38
43
 
39
44
  ## create a channel by passing "{host}:{port}"
@@ -44,6 +49,7 @@ istub = insert_pb2_grpc.InsertStub(channel)
44
49
  sstub = search_pb2_grpc.SearchStub(channel)
45
50
  ustub = update_pb2_grpc.UpdateStub(channel)
46
51
  rstub = remove_pb2_grpc.RemoveStub(channel)
52
+ fstub = flush_pb2_grpc.FlushStub(channel)
47
53
 
48
54
  ## call RPCs: Insert
49
55
  vec = payload_pb2.Object.Vector(id='vector_id_1', vector=[0.1, 0.2, 0.3])
@@ -69,6 +75,9 @@ rcfg = payload_pb2.Remove.Config(skip_strict_exist_check=True)
69
75
  rid = payload_pb2.Object.ID(id='vector_id_1')
70
76
  rstub.Remove(payload_pb2.Remove.Request(id=rid, config=rcfg))
71
77
 
78
+ ## call RPCs: Flush
79
+ fstub.Flush(payload_pb2.Flush.Request())
80
+
72
81
  ## close channel
73
82
  channel.close()
74
83
  ```
@@ -24,6 +24,7 @@ from vald.v1.vald import insert_pb2_grpc
24
24
  from vald.v1.vald import search_pb2_grpc
25
25
  from vald.v1.vald import update_pb2_grpc
26
26
  from vald.v1.vald import remove_pb2_grpc
27
+ from vald.v1.vald import flush_pb2_grpc
27
28
  from vald.v1.payload import payload_pb2
28
29
 
29
30
  ## create a channel by passing "{host}:{port}"
@@ -34,6 +35,7 @@ istub = insert_pb2_grpc.InsertStub(channel)
34
35
  sstub = search_pb2_grpc.SearchStub(channel)
35
36
  ustub = update_pb2_grpc.UpdateStub(channel)
36
37
  rstub = remove_pb2_grpc.RemoveStub(channel)
38
+ fstub = flush_pb2_grpc.FlushStub(channel)
37
39
 
38
40
  ## call RPCs: Insert
39
41
  vec = payload_pb2.Object.Vector(id='vector_id_1', vector=[0.1, 0.2, 0.3])
@@ -59,6 +61,9 @@ rcfg = payload_pb2.Remove.Config(skip_strict_exist_check=True)
59
61
  rid = payload_pb2.Object.ID(id='vector_id_1')
60
62
  rstub.Remove(payload_pb2.Remove.Request(id=rid, config=rcfg))
61
63
 
64
+ ## call RPCs: Flush
65
+ fstub.Flush(payload_pb2.Flush.Request())
66
+
62
67
  ## close channel
63
68
  channel.close()
64
69
  ```
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = vald-client-python
3
- version = 1.7.16
3
+ version = 1.8.0
4
4
  url = https://github.com/vdaas/vald-client-python
5
5
  description = a client library for Vald (https://github.com/vdaas/vald).
6
6
  long_description = file: README.md
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: buf/validate/expression.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 7.36.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 2,
14
+ 7,
15
+ 36,
16
+ 1,
17
17
  '',
18
18
  'buf/validate/expression.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: buf/validate/priv/private.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 7.36.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 2,
14
+ 7,
15
+ 36,
16
+ 1,
17
17
  '',
18
18
  'buf/validate/priv/private.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: buf/validate/validate.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 7.36.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 2,
14
+ 7,
15
+ 36,
16
+ 1,
17
17
  '',
18
18
  'buf/validate/validate.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: google/api/annotations.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 7.36.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 2,
14
+ 7,
15
+ 36,
16
+ 1,
17
17
  '',
18
18
  'google/api/annotations.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: google/api/http.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 7.36.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 2,
14
+ 7,
15
+ 36,
16
+ 1,
17
17
  '',
18
18
  'google/api/http.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: google/rpc/status.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 7.36.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 2,
14
+ 7,
15
+ 36,
16
+ 1,
17
17
  '',
18
18
  'google/rpc/status.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: vald/v1/agent/core/agent.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 7.36.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 2,
14
+ 7,
15
+ 36,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/agent/core/agent.proto'
19
19
  )
@@ -5,7 +5,7 @@ import grpc
5
5
  from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2
6
6
 
7
7
 
8
- class AgentStub(object):
8
+ class AgentStub:
9
9
  """Represent the agent service.
10
10
  """
11
11
 
@@ -32,7 +32,7 @@ class AgentStub(object):
32
32
  _registered_method=True)
33
33
 
34
34
 
35
- class AgentServicer(object):
35
+ class AgentServicer:
36
36
  """Represent the agent service.
37
37
  """
38
38
 
@@ -83,7 +83,7 @@ def add_AgentServicer_to_server(servicer, server):
83
83
 
84
84
 
85
85
  # This class is part of an EXPERIMENTAL API.
86
- class Agent(object):
86
+ class Agent:
87
87
  """Represent the agent service.
88
88
  """
89
89
 
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: vald/v1/filter/egress/egress_filter.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 7.36.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 2,
14
+ 7,
15
+ 36,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/filter/egress/egress_filter.proto'
19
19
  )
@@ -5,7 +5,7 @@ import grpc
5
5
  from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2
6
6
 
7
7
 
8
- class FilterStub(object):
8
+ class FilterStub:
9
9
  """Represent the egress filter service.
10
10
  """
11
11
 
@@ -27,7 +27,7 @@ class FilterStub(object):
27
27
  _registered_method=True)
28
28
 
29
29
 
30
- class FilterServicer(object):
30
+ class FilterServicer:
31
31
  """Represent the egress filter service.
32
32
  """
33
33
 
@@ -66,7 +66,7 @@ def add_FilterServicer_to_server(servicer, server):
66
66
 
67
67
 
68
68
  # This class is part of an EXPERIMENTAL API.
69
- class Filter(object):
69
+ class Filter:
70
70
  """Represent the egress filter service.
71
71
  """
72
72
 
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: vald/v1/filter/ingress/ingress_filter.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 7.36.1
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
11
11
  from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 29,
16
- 2,
14
+ 7,
15
+ 36,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/filter/ingress/ingress_filter.proto'
19
19
  )
@@ -5,7 +5,7 @@ import grpc
5
5
  from vald.v1.payload import payload_pb2 as vald_dot_v1_dot_payload_dot_payload__pb2
6
6
 
7
7
 
8
- class FilterStub(object):
8
+ class FilterStub:
9
9
  """Represent the ingress filter service.
10
10
  """
11
11
 
@@ -27,7 +27,7 @@ class FilterStub(object):
27
27
  _registered_method=True)
28
28
 
29
29
 
30
- class FilterServicer(object):
30
+ class FilterServicer:
31
31
  """Represent the ingress filter service.
32
32
  """
33
33
 
@@ -66,7 +66,7 @@ def add_FilterServicer_to_server(servicer, server):
66
66
 
67
67
 
68
68
  # This class is part of an EXPERIMENTAL API.
69
- class Filter(object):
69
+ class Filter:
70
70
  """Represent the ingress filter service.
71
71
  """
72
72