vald-client-python 1.7.16__tar.gz → 1.7.17__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 (51) hide show
  1. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/LICENSE +1 -1
  2. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/PKG-INFO +6 -1
  3. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/README.md +5 -0
  4. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/setup.cfg +1 -1
  5. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/buf/validate/expression_pb2.py +4 -4
  6. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/buf/validate/priv/private_pb2.py +4 -4
  7. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/buf/validate/validate_pb2.py +4 -4
  8. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/google/api/annotations_pb2.py +4 -4
  9. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/google/api/http_pb2.py +4 -4
  10. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/google/rpc/status_pb2.py +4 -4
  11. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/agent/core/agent_pb2.py +4 -4
  12. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/filter/egress/egress_filter_pb2.py +4 -4
  13. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/filter/ingress/ingress_filter_pb2.py +4 -4
  14. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/payload/payload_pb2.py +4 -4
  15. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/rpc/errdetails/error_details_pb2.py +4 -4
  16. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/filter_pb2.py +4 -4
  17. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/flush_pb2.py +4 -4
  18. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/index_pb2.py +4 -4
  19. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/insert_pb2.py +4 -4
  20. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/insert_pb2_grpc.py +1 -1
  21. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/object_pb2.py +4 -4
  22. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/remove_pb2.py +4 -4
  23. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/search_pb2.py +4 -4
  24. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/update_pb2.py +4 -4
  25. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/upsert_pb2.py +4 -4
  26. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald_client_python.egg-info/PKG-INFO +6 -1
  27. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/setup.py +0 -0
  28. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/buf/validate/expression_pb2_grpc.py +0 -0
  29. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/buf/validate/priv/private_pb2_grpc.py +0 -0
  30. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/buf/validate/validate_pb2_grpc.py +0 -0
  31. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/google/api/annotations_pb2_grpc.py +0 -0
  32. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/google/api/http_pb2_grpc.py +0 -0
  33. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/google/rpc/status_pb2_grpc.py +0 -0
  34. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/agent/core/agent_pb2_grpc.py +0 -0
  35. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/filter/egress/egress_filter_pb2_grpc.py +0 -0
  36. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/filter/ingress/ingress_filter_pb2_grpc.py +0 -0
  37. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/payload/payload_pb2_grpc.py +0 -0
  38. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/rpc/errdetails/error_details_pb2_grpc.py +0 -0
  39. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/filter_pb2_grpc.py +0 -0
  40. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/flush_pb2_grpc.py +0 -0
  41. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/index_pb2_grpc.py +0 -0
  42. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/object_pb2_grpc.py +0 -0
  43. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/remove_pb2_grpc.py +0 -0
  44. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/search_pb2_grpc.py +0 -0
  45. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/update_pb2_grpc.py +0 -0
  46. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald/v1/vald/upsert_pb2_grpc.py +0 -0
  47. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald_client_python.egg-info/SOURCES.txt +0 -0
  48. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald_client_python.egg-info/dependency_links.txt +0 -0
  49. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald_client_python.egg-info/not-zip-safe +0 -0
  50. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/src/vald_client_python.egg-info/requires.txt +0 -0
  51. {vald-client-python-1.7.16 → vald-client-python-1.7.17}/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-2025 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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vald-client-python
3
- Version: 1.7.16
3
+ Version: 1.7.17
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
@@ -34,6 +34,7 @@ from vald.v1.vald import insert_pb2_grpc
34
34
  from vald.v1.vald import search_pb2_grpc
35
35
  from vald.v1.vald import update_pb2_grpc
36
36
  from vald.v1.vald import remove_pb2_grpc
37
+ from vald.v1.vald import flush_pb2_grpc
37
38
  from vald.v1.payload import payload_pb2
38
39
 
39
40
  ## create a channel by passing "{host}:{port}"
@@ -44,6 +45,7 @@ istub = insert_pb2_grpc.InsertStub(channel)
44
45
  sstub = search_pb2_grpc.SearchStub(channel)
45
46
  ustub = update_pb2_grpc.UpdateStub(channel)
46
47
  rstub = remove_pb2_grpc.RemoveStub(channel)
48
+ fstub = flush_pb2_grpc.FlushStub(channel)
47
49
 
48
50
  ## call RPCs: Insert
49
51
  vec = payload_pb2.Object.Vector(id='vector_id_1', vector=[0.1, 0.2, 0.3])
@@ -69,6 +71,9 @@ rcfg = payload_pb2.Remove.Config(skip_strict_exist_check=True)
69
71
  rid = payload_pb2.Object.ID(id='vector_id_1')
70
72
  rstub.Remove(payload_pb2.Remove.Request(id=rid, config=rcfg))
71
73
 
74
+ ## call RPCs: Flush
75
+ fstub.Flush(payload_pb2.Flush.Request())
76
+
72
77
  ## close channel
73
78
  channel.close()
74
79
  ```
@@ -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.7.17
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: 6.31.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
+ 6,
15
+ 31,
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: 6.31.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
+ 6,
15
+ 31,
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: 6.31.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
+ 6,
15
+ 31,
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: 6.31.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
+ 6,
15
+ 31,
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: 6.31.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
+ 6,
15
+ 31,
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: 6.31.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
+ 6,
15
+ 31,
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: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/agent/core/agent.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/filter/egress/egress_filter.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/filter/egress/egress_filter.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/filter/ingress/ingress_filter.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/filter/ingress/ingress_filter.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/payload/payload.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/payload/payload.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/rpc/errdetails/error_details.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/rpc/errdetails/error_details.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/vald/filter.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/vald/filter.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/vald/flush.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/vald/flush.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/vald/index.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/vald/index.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/vald/insert.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/vald/insert.proto'
19
19
  )
@@ -40,7 +40,7 @@ class InsertServicer(object):
40
40
 
41
41
  def Insert(self, request, context):
42
42
  """Overview
43
- Inset RPC is the method to add a new single vector.
43
+ Insert RPC is the method to add a new single vector.
44
44
  ---
45
45
  Status Code
46
46
  | 0 | OK |
@@ -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/vald/object.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/vald/object.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/vald/remove.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/vald/remove.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/vald/search.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/vald/search.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/vald/update.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/vald/update.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/vald/upsert.proto
5
- # Protobuf Python Version: 5.29.2
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
17
  '',
18
18
  'vald/v1/vald/upsert.proto'
19
19
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vald-client-python
3
- Version: 1.7.16
3
+ Version: 1.7.17
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
@@ -34,6 +34,7 @@ from vald.v1.vald import insert_pb2_grpc
34
34
  from vald.v1.vald import search_pb2_grpc
35
35
  from vald.v1.vald import update_pb2_grpc
36
36
  from vald.v1.vald import remove_pb2_grpc
37
+ from vald.v1.vald import flush_pb2_grpc
37
38
  from vald.v1.payload import payload_pb2
38
39
 
39
40
  ## create a channel by passing "{host}:{port}"
@@ -44,6 +45,7 @@ istub = insert_pb2_grpc.InsertStub(channel)
44
45
  sstub = search_pb2_grpc.SearchStub(channel)
45
46
  ustub = update_pb2_grpc.UpdateStub(channel)
46
47
  rstub = remove_pb2_grpc.RemoveStub(channel)
48
+ fstub = flush_pb2_grpc.FlushStub(channel)
47
49
 
48
50
  ## call RPCs: Insert
49
51
  vec = payload_pb2.Object.Vector(id='vector_id_1', vector=[0.1, 0.2, 0.3])
@@ -69,6 +71,9 @@ rcfg = payload_pb2.Remove.Config(skip_strict_exist_check=True)
69
71
  rid = payload_pb2.Object.ID(id='vector_id_1')
70
72
  rstub.Remove(payload_pb2.Remove.Request(id=rid, config=rcfg))
71
73
 
74
+ ## call RPCs: Flush
75
+ fstub.Flush(payload_pb2.Flush.Request())
76
+
72
77
  ## close channel
73
78
  channel.close()
74
79
  ```