From 6a27275486e596eb8666cc560281ff361d43542a Mon Sep 17 00:00:00 2001 From: groot Date: Thu, 9 May 2019 19:16:40 +0800 Subject: [PATCH] regen thrift py Former-commit-id: a199ad849e1a0a6534bd343deaf8e4aa6a1335d5 --- .../thrift/gen-py/zilliz/VecService-remote | 2 +- cpp/src/thrift/gen-py/zilliz/VecService.py | 46 +------------------ cpp/src/thrift/gen-py/zilliz/constants.py | 2 +- cpp/src/thrift/gen-py/zilliz/ttypes.py | 14 +----- 4 files changed, 4 insertions(+), 60 deletions(-) diff --git a/cpp/src/thrift/gen-py/zilliz/VecService-remote b/cpp/src/thrift/gen-py/zilliz/VecService-remote index 16e2b79d..047136af 100755 --- a/cpp/src/thrift/gen-py/zilliz/VecService-remote +++ b/cpp/src/thrift/gen-py/zilliz/VecService-remote @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Autogenerated by Thrift Compiler (0.12.0) +# Autogenerated by Thrift Compiler (0.11.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/cpp/src/thrift/gen-py/zilliz/VecService.py b/cpp/src/thrift/gen-py/zilliz/VecService.py index eea2c3d9..d4dfdfed 100644 --- a/cpp/src/thrift/gen-py/zilliz/VecService.py +++ b/cpp/src/thrift/gen-py/zilliz/VecService.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.12.0) +# Autogenerated by Thrift Compiler (0.11.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -25,7 +25,6 @@ class Iface(object): Parameters: - group - """ pass @@ -33,7 +32,6 @@ class Iface(object): """ Parameters: - group_id - """ pass @@ -41,7 +39,6 @@ class Iface(object): """ Parameters: - group_id - """ pass @@ -53,7 +50,6 @@ class Iface(object): Parameters: - group_id - tensor - """ pass @@ -62,7 +58,6 @@ class Iface(object): Parameters: - group_id - tensor_list - """ pass @@ -71,7 +66,6 @@ class Iface(object): Parameters: - group_id - tensor - """ pass @@ -80,7 +74,6 @@ class Iface(object): Parameters: - group_id - tensor_list - """ pass @@ -98,7 +91,6 @@ class Iface(object): - top_k - tensor - filter - """ pass @@ -109,7 +101,6 @@ class Iface(object): - top_k - tensor_list - filter - """ pass @@ -120,7 +111,6 @@ class Iface(object): - top_k - tensor - filter - """ pass @@ -131,7 +121,6 @@ class Iface(object): - top_k - tensor_list - filter - """ pass @@ -149,7 +138,6 @@ class Client(Iface): Parameters: - group - """ self.send_add_group(group) self.recv_add_group() @@ -181,7 +169,6 @@ class Client(Iface): """ Parameters: - group_id - """ self.send_get_group(group_id) return self.recv_get_group() @@ -215,7 +202,6 @@ class Client(Iface): """ Parameters: - group_id - """ self.send_del_group(group_id) self.recv_del_group() @@ -251,7 +237,6 @@ class Client(Iface): Parameters: - group_id - tensor - """ self.send_add_vector(group_id, tensor) return self.recv_add_vector() @@ -287,7 +272,6 @@ class Client(Iface): Parameters: - group_id - tensor_list - """ self.send_add_vector_batch(group_id, tensor_list) return self.recv_add_vector_batch() @@ -323,7 +307,6 @@ class Client(Iface): Parameters: - group_id - tensor - """ self.send_add_binary_vector(group_id, tensor) return self.recv_add_binary_vector() @@ -359,7 +342,6 @@ class Client(Iface): Parameters: - group_id - tensor_list - """ self.send_add_binary_vector_batch(group_id, tensor_list) return self.recv_add_binary_vector_batch() @@ -404,7 +386,6 @@ class Client(Iface): - top_k - tensor - filter - """ self.send_search_vector(group_id, top_k, tensor, filter) return self.recv_search_vector() @@ -444,7 +425,6 @@ class Client(Iface): - top_k - tensor_list - filter - """ self.send_search_vector_batch(group_id, top_k, tensor_list, filter) return self.recv_search_vector_batch() @@ -484,7 +464,6 @@ class Client(Iface): - top_k - tensor - filter - """ self.send_search_binary_vector(group_id, top_k, tensor, filter) return self.recv_search_binary_vector() @@ -524,7 +503,6 @@ class Client(Iface): - top_k - tensor_list - filter - """ self.send_search_binary_vector_batch(group_id, top_k, tensor_list, filter) return self.recv_search_binary_vector_batch() @@ -882,7 +860,6 @@ class add_group_args(object): """ Attributes: - group - """ @@ -946,7 +923,6 @@ class add_group_result(object): """ Attributes: - e - """ @@ -1009,7 +985,6 @@ class get_group_args(object): """ Attributes: - group_id - """ @@ -1073,7 +1048,6 @@ class get_group_result(object): Attributes: - success - e - """ @@ -1147,7 +1121,6 @@ class del_group_args(object): """ Attributes: - group_id - """ @@ -1210,7 +1183,6 @@ class del_group_result(object): """ Attributes: - e - """ @@ -1274,7 +1246,6 @@ class add_vector_args(object): Attributes: - group_id - tensor - """ @@ -1350,7 +1321,6 @@ class add_vector_result(object): Attributes: - success - e - """ @@ -1424,7 +1394,6 @@ class add_vector_batch_args(object): Attributes: - group_id - tensor_list - """ @@ -1500,7 +1469,6 @@ class add_vector_batch_result(object): Attributes: - success - e - """ @@ -1582,7 +1550,6 @@ class add_binary_vector_args(object): Attributes: - group_id - tensor - """ @@ -1658,7 +1625,6 @@ class add_binary_vector_result(object): Attributes: - success - e - """ @@ -1732,7 +1698,6 @@ class add_binary_vector_batch_args(object): Attributes: - group_id - tensor_list - """ @@ -1808,7 +1773,6 @@ class add_binary_vector_batch_result(object): Attributes: - success - e - """ @@ -1892,7 +1856,6 @@ class search_vector_args(object): - top_k - tensor - filter - """ @@ -1991,7 +1954,6 @@ class search_vector_result(object): Attributes: - success - e - """ @@ -2068,7 +2030,6 @@ class search_vector_batch_args(object): - top_k - tensor_list - filter - """ @@ -2167,7 +2128,6 @@ class search_vector_batch_result(object): Attributes: - success - e - """ @@ -2244,7 +2204,6 @@ class search_binary_vector_args(object): - top_k - tensor - filter - """ @@ -2343,7 +2302,6 @@ class search_binary_vector_result(object): Attributes: - success - e - """ @@ -2420,7 +2378,6 @@ class search_binary_vector_batch_args(object): - top_k - tensor_list - filter - """ @@ -2519,7 +2476,6 @@ class search_binary_vector_batch_result(object): Attributes: - success - e - """ diff --git a/cpp/src/thrift/gen-py/zilliz/constants.py b/cpp/src/thrift/gen-py/zilliz/constants.py index c59352d0..0c217ced 100644 --- a/cpp/src/thrift/gen-py/zilliz/constants.py +++ b/cpp/src/thrift/gen-py/zilliz/constants.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.12.0) +# Autogenerated by Thrift Compiler (0.11.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git a/cpp/src/thrift/gen-py/zilliz/ttypes.py b/cpp/src/thrift/gen-py/zilliz/ttypes.py index e52e45d8..c35de06a 100644 --- a/cpp/src/thrift/gen-py/zilliz/ttypes.py +++ b/cpp/src/thrift/gen-py/zilliz/ttypes.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.12.0) +# Autogenerated by Thrift Compiler (0.11.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -48,7 +48,6 @@ class VecException(TException): Attributes: - code - reason - """ @@ -120,7 +119,6 @@ class VecGroup(object): - id - dimension - index_type - """ @@ -203,7 +201,6 @@ class VecTensor(object): - uid - tensor - attrib - """ @@ -302,7 +299,6 @@ class VecTensorList(object): """ Attributes: - tensor_list - """ @@ -372,7 +368,6 @@ class VecBinaryTensor(object): - uid - tensor - attrib - """ @@ -463,7 +458,6 @@ class VecBinaryTensorList(object): """ Attributes: - tensor_list - """ @@ -533,7 +527,6 @@ class VecSearchResultItem(object): - uid - distance - attrib - """ @@ -622,7 +615,6 @@ class VecSearchResult(object): """ Attributes: - result_list - """ @@ -688,7 +680,6 @@ class VecSearchResultList(object): """ Attributes: - result_list - """ @@ -766,7 +757,6 @@ class VecDateTime(object): - hour - minute - second - """ @@ -888,7 +878,6 @@ class VecTimeRange(object): - begine_closed - time_end - end_closed - """ @@ -986,7 +975,6 @@ class VecSearchFilter(object): Attributes: - attrib_filter - time_ranges - """ -- GitLab