cortexdb-client 0.1.0__py3-none-any.whl
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.
- cortexdb_client/__init__.py +25 -0
- cortexdb_client/_pb/__init__.py +0 -0
- cortexdb_client/_pb/cortexdb/__init__.py +0 -0
- cortexdb_client/_pb/cortexdb/v1/__init__.py +0 -0
- cortexdb_client/_pb/cortexdb/v1/admin_pb2.py +45 -0
- cortexdb_client/_pb/cortexdb/v1/admin_pb2_grpc.py +140 -0
- cortexdb_client/_pb/cortexdb/v1/common_pb2.py +55 -0
- cortexdb_client/_pb/cortexdb/v1/common_pb2_grpc.py +24 -0
- cortexdb_client/_pb/cortexdb/v1/graph_pb2.py +154 -0
- cortexdb_client/_pb/cortexdb/v1/graph_pb2_grpc.py +785 -0
- cortexdb_client/_pb/cortexdb/v1/graphrag_pb2.py +84 -0
- cortexdb_client/_pb/cortexdb/v1/graphrag_pb2_grpc.py +312 -0
- cortexdb_client/_pb/cortexdb/v1/knowledge_pb2.py +77 -0
- cortexdb_client/_pb/cortexdb/v1/knowledge_pb2_grpc.py +269 -0
- cortexdb_client/_pb/cortexdb/v1/memory_pb2.py +62 -0
- cortexdb_client/_pb/cortexdb/v1/memory_pb2_grpc.py +269 -0
- cortexdb_client/_pb/cortexdb/v1/tools_pb2.py +47 -0
- cortexdb_client/_pb/cortexdb/v1/tools_pb2_grpc.py +140 -0
- cortexdb_client/client.py +80 -0
- cortexdb_client/proto.py +24 -0
- cortexdb_client-0.1.0.dist-info/METADATA +86 -0
- cortexdb_client-0.1.0.dist-info/RECORD +23 -0
- cortexdb_client-0.1.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,785 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
from cortexdb_client._pb.cortexdb.v1 import graph_pb2 as cortexdb_dot_v1_dot_graph__pb2
|
|
7
|
+
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.81.0'
|
|
9
|
+
GRPC_VERSION = grpc.__version__
|
|
10
|
+
_version_not_supported = False
|
|
11
|
+
|
|
12
|
+
try:
|
|
13
|
+
from grpc._utilities import first_version_is_lower
|
|
14
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
15
|
+
except ImportError:
|
|
16
|
+
_version_not_supported = True
|
|
17
|
+
|
|
18
|
+
if _version_not_supported:
|
|
19
|
+
raise RuntimeError(
|
|
20
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
21
|
+
+ ' but the generated code in cortexdb/v1/graph_pb2_grpc.py depends on'
|
|
22
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
23
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
24
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class KnowledgeGraphServiceStub:
|
|
29
|
+
"""Missing associated documentation comment in .proto file."""
|
|
30
|
+
|
|
31
|
+
def __init__(self, channel):
|
|
32
|
+
"""Constructor.
|
|
33
|
+
|
|
34
|
+
Args:
|
|
35
|
+
channel: A grpc.Channel.
|
|
36
|
+
"""
|
|
37
|
+
self.UpsertNamespace = channel.unary_unary(
|
|
38
|
+
'/cortexdb.v1.KnowledgeGraphService/UpsertNamespace',
|
|
39
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.UpsertNamespaceRequest.SerializeToString,
|
|
40
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.UpsertNamespaceResponse.FromString,
|
|
41
|
+
_registered_method=True)
|
|
42
|
+
self.ListNamespaces = channel.unary_unary(
|
|
43
|
+
'/cortexdb.v1.KnowledgeGraphService/ListNamespaces',
|
|
44
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.ListNamespacesRequest.SerializeToString,
|
|
45
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.ListNamespacesResponse.FromString,
|
|
46
|
+
_registered_method=True)
|
|
47
|
+
self.UpsertKnowledgeGraph = channel.unary_unary(
|
|
48
|
+
'/cortexdb.v1.KnowledgeGraphService/UpsertKnowledgeGraph',
|
|
49
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.UpsertKnowledgeGraphRequest.SerializeToString,
|
|
50
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.UpsertKnowledgeGraphResponse.FromString,
|
|
51
|
+
_registered_method=True)
|
|
52
|
+
self.FindKnowledgeGraph = channel.unary_unary(
|
|
53
|
+
'/cortexdb.v1.KnowledgeGraphService/FindKnowledgeGraph',
|
|
54
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.FindKnowledgeGraphRequest.SerializeToString,
|
|
55
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.FindKnowledgeGraphResponse.FromString,
|
|
56
|
+
_registered_method=True)
|
|
57
|
+
self.DeleteKnowledgeGraph = channel.unary_unary(
|
|
58
|
+
'/cortexdb.v1.KnowledgeGraphService/DeleteKnowledgeGraph',
|
|
59
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.DeleteKnowledgeGraphRequest.SerializeToString,
|
|
60
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.DeleteKnowledgeGraphResponse.FromString,
|
|
61
|
+
_registered_method=True)
|
|
62
|
+
self.ImportKnowledgeGraph = channel.unary_unary(
|
|
63
|
+
'/cortexdb.v1.KnowledgeGraphService/ImportKnowledgeGraph',
|
|
64
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.ImportKnowledgeGraphRequest.SerializeToString,
|
|
65
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.ImportKnowledgeGraphResponse.FromString,
|
|
66
|
+
_registered_method=True)
|
|
67
|
+
self.ExportKnowledgeGraph = channel.unary_unary(
|
|
68
|
+
'/cortexdb.v1.KnowledgeGraphService/ExportKnowledgeGraph',
|
|
69
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.ExportKnowledgeGraphRequest.SerializeToString,
|
|
70
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.ExportKnowledgeGraphResponse.FromString,
|
|
71
|
+
_registered_method=True)
|
|
72
|
+
self.QuerySparql = channel.unary_unary(
|
|
73
|
+
'/cortexdb.v1.KnowledgeGraphService/QuerySparql',
|
|
74
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.QuerySparqlRequest.SerializeToString,
|
|
75
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.QuerySparqlResponse.FromString,
|
|
76
|
+
_registered_method=True)
|
|
77
|
+
self.ValidateShacl = channel.unary_unary(
|
|
78
|
+
'/cortexdb.v1.KnowledgeGraphService/ValidateShacl',
|
|
79
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.ValidateShaclRequest.SerializeToString,
|
|
80
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.ValidateShaclResponse.FromString,
|
|
81
|
+
_registered_method=True)
|
|
82
|
+
self.RefreshInference = channel.unary_unary(
|
|
83
|
+
'/cortexdb.v1.KnowledgeGraphService/RefreshInference',
|
|
84
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.RefreshInferenceRequest.SerializeToString,
|
|
85
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.RefreshInferenceResponse.FromString,
|
|
86
|
+
_registered_method=True)
|
|
87
|
+
self.SummarizeInference = channel.unary_unary(
|
|
88
|
+
'/cortexdb.v1.KnowledgeGraphService/SummarizeInference',
|
|
89
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.SummarizeInferenceRequest.SerializeToString,
|
|
90
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.SummarizeInferenceResponse.FromString,
|
|
91
|
+
_registered_method=True)
|
|
92
|
+
self.ExplainInference = channel.unary_unary(
|
|
93
|
+
'/cortexdb.v1.KnowledgeGraphService/ExplainInference',
|
|
94
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceRequest.SerializeToString,
|
|
95
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceResponse.FromString,
|
|
96
|
+
_registered_method=True)
|
|
97
|
+
self.ExplainInferenceMatch = channel.unary_unary(
|
|
98
|
+
'/cortexdb.v1.KnowledgeGraphService/ExplainInferenceMatch',
|
|
99
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceMatchRequest.SerializeToString,
|
|
100
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceMatchResponse.FromString,
|
|
101
|
+
_registered_method=True)
|
|
102
|
+
self.SaveOntologySchema = channel.unary_unary(
|
|
103
|
+
'/cortexdb.v1.KnowledgeGraphService/SaveOntologySchema',
|
|
104
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.SaveOntologySchemaRequest.SerializeToString,
|
|
105
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.SaveOntologySchemaResponse.FromString,
|
|
106
|
+
_registered_method=True)
|
|
107
|
+
self.GetOntologySchema = channel.unary_unary(
|
|
108
|
+
'/cortexdb.v1.KnowledgeGraphService/GetOntologySchema',
|
|
109
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.GetOntologySchemaRequest.SerializeToString,
|
|
110
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.GetOntologySchemaResponse.FromString,
|
|
111
|
+
_registered_method=True)
|
|
112
|
+
self.ListOntologySchemas = channel.unary_unary(
|
|
113
|
+
'/cortexdb.v1.KnowledgeGraphService/ListOntologySchemas',
|
|
114
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.ListOntologySchemasRequest.SerializeToString,
|
|
115
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.ListOntologySchemasResponse.FromString,
|
|
116
|
+
_registered_method=True)
|
|
117
|
+
self.DeleteOntologySchema = channel.unary_unary(
|
|
118
|
+
'/cortexdb.v1.KnowledgeGraphService/DeleteOntologySchema',
|
|
119
|
+
request_serializer=cortexdb_dot_v1_dot_graph__pb2.DeleteOntologySchemaRequest.SerializeToString,
|
|
120
|
+
response_deserializer=cortexdb_dot_v1_dot_graph__pb2.DeleteOntologySchemaResponse.FromString,
|
|
121
|
+
_registered_method=True)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
class KnowledgeGraphServiceServicer:
|
|
125
|
+
"""Missing associated documentation comment in .proto file."""
|
|
126
|
+
|
|
127
|
+
def UpsertNamespace(self, request, context):
|
|
128
|
+
"""Missing associated documentation comment in .proto file."""
|
|
129
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
130
|
+
context.set_details('Method not implemented!')
|
|
131
|
+
raise NotImplementedError('Method not implemented!')
|
|
132
|
+
|
|
133
|
+
def ListNamespaces(self, request, context):
|
|
134
|
+
"""Missing associated documentation comment in .proto file."""
|
|
135
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
136
|
+
context.set_details('Method not implemented!')
|
|
137
|
+
raise NotImplementedError('Method not implemented!')
|
|
138
|
+
|
|
139
|
+
def UpsertKnowledgeGraph(self, request, context):
|
|
140
|
+
"""Missing associated documentation comment in .proto file."""
|
|
141
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
142
|
+
context.set_details('Method not implemented!')
|
|
143
|
+
raise NotImplementedError('Method not implemented!')
|
|
144
|
+
|
|
145
|
+
def FindKnowledgeGraph(self, request, context):
|
|
146
|
+
"""Missing associated documentation comment in .proto file."""
|
|
147
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
148
|
+
context.set_details('Method not implemented!')
|
|
149
|
+
raise NotImplementedError('Method not implemented!')
|
|
150
|
+
|
|
151
|
+
def DeleteKnowledgeGraph(self, request, context):
|
|
152
|
+
"""Missing associated documentation comment in .proto file."""
|
|
153
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
154
|
+
context.set_details('Method not implemented!')
|
|
155
|
+
raise NotImplementedError('Method not implemented!')
|
|
156
|
+
|
|
157
|
+
def ImportKnowledgeGraph(self, request, context):
|
|
158
|
+
"""Missing associated documentation comment in .proto file."""
|
|
159
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
160
|
+
context.set_details('Method not implemented!')
|
|
161
|
+
raise NotImplementedError('Method not implemented!')
|
|
162
|
+
|
|
163
|
+
def ExportKnowledgeGraph(self, request, context):
|
|
164
|
+
"""Missing associated documentation comment in .proto file."""
|
|
165
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
166
|
+
context.set_details('Method not implemented!')
|
|
167
|
+
raise NotImplementedError('Method not implemented!')
|
|
168
|
+
|
|
169
|
+
def QuerySparql(self, request, context):
|
|
170
|
+
"""Missing associated documentation comment in .proto file."""
|
|
171
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
172
|
+
context.set_details('Method not implemented!')
|
|
173
|
+
raise NotImplementedError('Method not implemented!')
|
|
174
|
+
|
|
175
|
+
def ValidateShacl(self, request, context):
|
|
176
|
+
"""Missing associated documentation comment in .proto file."""
|
|
177
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
178
|
+
context.set_details('Method not implemented!')
|
|
179
|
+
raise NotImplementedError('Method not implemented!')
|
|
180
|
+
|
|
181
|
+
def RefreshInference(self, request, context):
|
|
182
|
+
"""Missing associated documentation comment in .proto file."""
|
|
183
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
184
|
+
context.set_details('Method not implemented!')
|
|
185
|
+
raise NotImplementedError('Method not implemented!')
|
|
186
|
+
|
|
187
|
+
def SummarizeInference(self, request, context):
|
|
188
|
+
"""Missing associated documentation comment in .proto file."""
|
|
189
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
190
|
+
context.set_details('Method not implemented!')
|
|
191
|
+
raise NotImplementedError('Method not implemented!')
|
|
192
|
+
|
|
193
|
+
def ExplainInference(self, request, context):
|
|
194
|
+
"""Missing associated documentation comment in .proto file."""
|
|
195
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
196
|
+
context.set_details('Method not implemented!')
|
|
197
|
+
raise NotImplementedError('Method not implemented!')
|
|
198
|
+
|
|
199
|
+
def ExplainInferenceMatch(self, request, context):
|
|
200
|
+
"""Missing associated documentation comment in .proto file."""
|
|
201
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
202
|
+
context.set_details('Method not implemented!')
|
|
203
|
+
raise NotImplementedError('Method not implemented!')
|
|
204
|
+
|
|
205
|
+
def SaveOntologySchema(self, request, context):
|
|
206
|
+
"""Missing associated documentation comment in .proto file."""
|
|
207
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
208
|
+
context.set_details('Method not implemented!')
|
|
209
|
+
raise NotImplementedError('Method not implemented!')
|
|
210
|
+
|
|
211
|
+
def GetOntologySchema(self, request, context):
|
|
212
|
+
"""Missing associated documentation comment in .proto file."""
|
|
213
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
214
|
+
context.set_details('Method not implemented!')
|
|
215
|
+
raise NotImplementedError('Method not implemented!')
|
|
216
|
+
|
|
217
|
+
def ListOntologySchemas(self, request, context):
|
|
218
|
+
"""Missing associated documentation comment in .proto file."""
|
|
219
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
220
|
+
context.set_details('Method not implemented!')
|
|
221
|
+
raise NotImplementedError('Method not implemented!')
|
|
222
|
+
|
|
223
|
+
def DeleteOntologySchema(self, request, context):
|
|
224
|
+
"""Missing associated documentation comment in .proto file."""
|
|
225
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
226
|
+
context.set_details('Method not implemented!')
|
|
227
|
+
raise NotImplementedError('Method not implemented!')
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
def add_KnowledgeGraphServiceServicer_to_server(servicer, server):
|
|
231
|
+
rpc_method_handlers = {
|
|
232
|
+
'UpsertNamespace': grpc.unary_unary_rpc_method_handler(
|
|
233
|
+
servicer.UpsertNamespace,
|
|
234
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.UpsertNamespaceRequest.FromString,
|
|
235
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.UpsertNamespaceResponse.SerializeToString,
|
|
236
|
+
),
|
|
237
|
+
'ListNamespaces': grpc.unary_unary_rpc_method_handler(
|
|
238
|
+
servicer.ListNamespaces,
|
|
239
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.ListNamespacesRequest.FromString,
|
|
240
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.ListNamespacesResponse.SerializeToString,
|
|
241
|
+
),
|
|
242
|
+
'UpsertKnowledgeGraph': grpc.unary_unary_rpc_method_handler(
|
|
243
|
+
servicer.UpsertKnowledgeGraph,
|
|
244
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.UpsertKnowledgeGraphRequest.FromString,
|
|
245
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.UpsertKnowledgeGraphResponse.SerializeToString,
|
|
246
|
+
),
|
|
247
|
+
'FindKnowledgeGraph': grpc.unary_unary_rpc_method_handler(
|
|
248
|
+
servicer.FindKnowledgeGraph,
|
|
249
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.FindKnowledgeGraphRequest.FromString,
|
|
250
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.FindKnowledgeGraphResponse.SerializeToString,
|
|
251
|
+
),
|
|
252
|
+
'DeleteKnowledgeGraph': grpc.unary_unary_rpc_method_handler(
|
|
253
|
+
servicer.DeleteKnowledgeGraph,
|
|
254
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.DeleteKnowledgeGraphRequest.FromString,
|
|
255
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.DeleteKnowledgeGraphResponse.SerializeToString,
|
|
256
|
+
),
|
|
257
|
+
'ImportKnowledgeGraph': grpc.unary_unary_rpc_method_handler(
|
|
258
|
+
servicer.ImportKnowledgeGraph,
|
|
259
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.ImportKnowledgeGraphRequest.FromString,
|
|
260
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.ImportKnowledgeGraphResponse.SerializeToString,
|
|
261
|
+
),
|
|
262
|
+
'ExportKnowledgeGraph': grpc.unary_unary_rpc_method_handler(
|
|
263
|
+
servicer.ExportKnowledgeGraph,
|
|
264
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.ExportKnowledgeGraphRequest.FromString,
|
|
265
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.ExportKnowledgeGraphResponse.SerializeToString,
|
|
266
|
+
),
|
|
267
|
+
'QuerySparql': grpc.unary_unary_rpc_method_handler(
|
|
268
|
+
servicer.QuerySparql,
|
|
269
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.QuerySparqlRequest.FromString,
|
|
270
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.QuerySparqlResponse.SerializeToString,
|
|
271
|
+
),
|
|
272
|
+
'ValidateShacl': grpc.unary_unary_rpc_method_handler(
|
|
273
|
+
servicer.ValidateShacl,
|
|
274
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.ValidateShaclRequest.FromString,
|
|
275
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.ValidateShaclResponse.SerializeToString,
|
|
276
|
+
),
|
|
277
|
+
'RefreshInference': grpc.unary_unary_rpc_method_handler(
|
|
278
|
+
servicer.RefreshInference,
|
|
279
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.RefreshInferenceRequest.FromString,
|
|
280
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.RefreshInferenceResponse.SerializeToString,
|
|
281
|
+
),
|
|
282
|
+
'SummarizeInference': grpc.unary_unary_rpc_method_handler(
|
|
283
|
+
servicer.SummarizeInference,
|
|
284
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.SummarizeInferenceRequest.FromString,
|
|
285
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.SummarizeInferenceResponse.SerializeToString,
|
|
286
|
+
),
|
|
287
|
+
'ExplainInference': grpc.unary_unary_rpc_method_handler(
|
|
288
|
+
servicer.ExplainInference,
|
|
289
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceRequest.FromString,
|
|
290
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceResponse.SerializeToString,
|
|
291
|
+
),
|
|
292
|
+
'ExplainInferenceMatch': grpc.unary_unary_rpc_method_handler(
|
|
293
|
+
servicer.ExplainInferenceMatch,
|
|
294
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceMatchRequest.FromString,
|
|
295
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceMatchResponse.SerializeToString,
|
|
296
|
+
),
|
|
297
|
+
'SaveOntologySchema': grpc.unary_unary_rpc_method_handler(
|
|
298
|
+
servicer.SaveOntologySchema,
|
|
299
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.SaveOntologySchemaRequest.FromString,
|
|
300
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.SaveOntologySchemaResponse.SerializeToString,
|
|
301
|
+
),
|
|
302
|
+
'GetOntologySchema': grpc.unary_unary_rpc_method_handler(
|
|
303
|
+
servicer.GetOntologySchema,
|
|
304
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.GetOntologySchemaRequest.FromString,
|
|
305
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.GetOntologySchemaResponse.SerializeToString,
|
|
306
|
+
),
|
|
307
|
+
'ListOntologySchemas': grpc.unary_unary_rpc_method_handler(
|
|
308
|
+
servicer.ListOntologySchemas,
|
|
309
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.ListOntologySchemasRequest.FromString,
|
|
310
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.ListOntologySchemasResponse.SerializeToString,
|
|
311
|
+
),
|
|
312
|
+
'DeleteOntologySchema': grpc.unary_unary_rpc_method_handler(
|
|
313
|
+
servicer.DeleteOntologySchema,
|
|
314
|
+
request_deserializer=cortexdb_dot_v1_dot_graph__pb2.DeleteOntologySchemaRequest.FromString,
|
|
315
|
+
response_serializer=cortexdb_dot_v1_dot_graph__pb2.DeleteOntologySchemaResponse.SerializeToString,
|
|
316
|
+
),
|
|
317
|
+
}
|
|
318
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
319
|
+
'cortexdb.v1.KnowledgeGraphService', rpc_method_handlers)
|
|
320
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
321
|
+
server.add_registered_method_handlers('cortexdb.v1.KnowledgeGraphService', rpc_method_handlers)
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
# This class is part of an EXPERIMENTAL API.
|
|
325
|
+
class KnowledgeGraphService:
|
|
326
|
+
"""Missing associated documentation comment in .proto file."""
|
|
327
|
+
|
|
328
|
+
@staticmethod
|
|
329
|
+
def UpsertNamespace(request,
|
|
330
|
+
target,
|
|
331
|
+
options=(),
|
|
332
|
+
channel_credentials=None,
|
|
333
|
+
call_credentials=None,
|
|
334
|
+
insecure=False,
|
|
335
|
+
compression=None,
|
|
336
|
+
wait_for_ready=None,
|
|
337
|
+
timeout=None,
|
|
338
|
+
metadata=None):
|
|
339
|
+
return grpc.experimental.unary_unary(
|
|
340
|
+
request,
|
|
341
|
+
target,
|
|
342
|
+
'/cortexdb.v1.KnowledgeGraphService/UpsertNamespace',
|
|
343
|
+
cortexdb_dot_v1_dot_graph__pb2.UpsertNamespaceRequest.SerializeToString,
|
|
344
|
+
cortexdb_dot_v1_dot_graph__pb2.UpsertNamespaceResponse.FromString,
|
|
345
|
+
options,
|
|
346
|
+
channel_credentials,
|
|
347
|
+
insecure,
|
|
348
|
+
call_credentials,
|
|
349
|
+
compression,
|
|
350
|
+
wait_for_ready,
|
|
351
|
+
timeout,
|
|
352
|
+
metadata,
|
|
353
|
+
_registered_method=True)
|
|
354
|
+
|
|
355
|
+
@staticmethod
|
|
356
|
+
def ListNamespaces(request,
|
|
357
|
+
target,
|
|
358
|
+
options=(),
|
|
359
|
+
channel_credentials=None,
|
|
360
|
+
call_credentials=None,
|
|
361
|
+
insecure=False,
|
|
362
|
+
compression=None,
|
|
363
|
+
wait_for_ready=None,
|
|
364
|
+
timeout=None,
|
|
365
|
+
metadata=None):
|
|
366
|
+
return grpc.experimental.unary_unary(
|
|
367
|
+
request,
|
|
368
|
+
target,
|
|
369
|
+
'/cortexdb.v1.KnowledgeGraphService/ListNamespaces',
|
|
370
|
+
cortexdb_dot_v1_dot_graph__pb2.ListNamespacesRequest.SerializeToString,
|
|
371
|
+
cortexdb_dot_v1_dot_graph__pb2.ListNamespacesResponse.FromString,
|
|
372
|
+
options,
|
|
373
|
+
channel_credentials,
|
|
374
|
+
insecure,
|
|
375
|
+
call_credentials,
|
|
376
|
+
compression,
|
|
377
|
+
wait_for_ready,
|
|
378
|
+
timeout,
|
|
379
|
+
metadata,
|
|
380
|
+
_registered_method=True)
|
|
381
|
+
|
|
382
|
+
@staticmethod
|
|
383
|
+
def UpsertKnowledgeGraph(request,
|
|
384
|
+
target,
|
|
385
|
+
options=(),
|
|
386
|
+
channel_credentials=None,
|
|
387
|
+
call_credentials=None,
|
|
388
|
+
insecure=False,
|
|
389
|
+
compression=None,
|
|
390
|
+
wait_for_ready=None,
|
|
391
|
+
timeout=None,
|
|
392
|
+
metadata=None):
|
|
393
|
+
return grpc.experimental.unary_unary(
|
|
394
|
+
request,
|
|
395
|
+
target,
|
|
396
|
+
'/cortexdb.v1.KnowledgeGraphService/UpsertKnowledgeGraph',
|
|
397
|
+
cortexdb_dot_v1_dot_graph__pb2.UpsertKnowledgeGraphRequest.SerializeToString,
|
|
398
|
+
cortexdb_dot_v1_dot_graph__pb2.UpsertKnowledgeGraphResponse.FromString,
|
|
399
|
+
options,
|
|
400
|
+
channel_credentials,
|
|
401
|
+
insecure,
|
|
402
|
+
call_credentials,
|
|
403
|
+
compression,
|
|
404
|
+
wait_for_ready,
|
|
405
|
+
timeout,
|
|
406
|
+
metadata,
|
|
407
|
+
_registered_method=True)
|
|
408
|
+
|
|
409
|
+
@staticmethod
|
|
410
|
+
def FindKnowledgeGraph(request,
|
|
411
|
+
target,
|
|
412
|
+
options=(),
|
|
413
|
+
channel_credentials=None,
|
|
414
|
+
call_credentials=None,
|
|
415
|
+
insecure=False,
|
|
416
|
+
compression=None,
|
|
417
|
+
wait_for_ready=None,
|
|
418
|
+
timeout=None,
|
|
419
|
+
metadata=None):
|
|
420
|
+
return grpc.experimental.unary_unary(
|
|
421
|
+
request,
|
|
422
|
+
target,
|
|
423
|
+
'/cortexdb.v1.KnowledgeGraphService/FindKnowledgeGraph',
|
|
424
|
+
cortexdb_dot_v1_dot_graph__pb2.FindKnowledgeGraphRequest.SerializeToString,
|
|
425
|
+
cortexdb_dot_v1_dot_graph__pb2.FindKnowledgeGraphResponse.FromString,
|
|
426
|
+
options,
|
|
427
|
+
channel_credentials,
|
|
428
|
+
insecure,
|
|
429
|
+
call_credentials,
|
|
430
|
+
compression,
|
|
431
|
+
wait_for_ready,
|
|
432
|
+
timeout,
|
|
433
|
+
metadata,
|
|
434
|
+
_registered_method=True)
|
|
435
|
+
|
|
436
|
+
@staticmethod
|
|
437
|
+
def DeleteKnowledgeGraph(request,
|
|
438
|
+
target,
|
|
439
|
+
options=(),
|
|
440
|
+
channel_credentials=None,
|
|
441
|
+
call_credentials=None,
|
|
442
|
+
insecure=False,
|
|
443
|
+
compression=None,
|
|
444
|
+
wait_for_ready=None,
|
|
445
|
+
timeout=None,
|
|
446
|
+
metadata=None):
|
|
447
|
+
return grpc.experimental.unary_unary(
|
|
448
|
+
request,
|
|
449
|
+
target,
|
|
450
|
+
'/cortexdb.v1.KnowledgeGraphService/DeleteKnowledgeGraph',
|
|
451
|
+
cortexdb_dot_v1_dot_graph__pb2.DeleteKnowledgeGraphRequest.SerializeToString,
|
|
452
|
+
cortexdb_dot_v1_dot_graph__pb2.DeleteKnowledgeGraphResponse.FromString,
|
|
453
|
+
options,
|
|
454
|
+
channel_credentials,
|
|
455
|
+
insecure,
|
|
456
|
+
call_credentials,
|
|
457
|
+
compression,
|
|
458
|
+
wait_for_ready,
|
|
459
|
+
timeout,
|
|
460
|
+
metadata,
|
|
461
|
+
_registered_method=True)
|
|
462
|
+
|
|
463
|
+
@staticmethod
|
|
464
|
+
def ImportKnowledgeGraph(request,
|
|
465
|
+
target,
|
|
466
|
+
options=(),
|
|
467
|
+
channel_credentials=None,
|
|
468
|
+
call_credentials=None,
|
|
469
|
+
insecure=False,
|
|
470
|
+
compression=None,
|
|
471
|
+
wait_for_ready=None,
|
|
472
|
+
timeout=None,
|
|
473
|
+
metadata=None):
|
|
474
|
+
return grpc.experimental.unary_unary(
|
|
475
|
+
request,
|
|
476
|
+
target,
|
|
477
|
+
'/cortexdb.v1.KnowledgeGraphService/ImportKnowledgeGraph',
|
|
478
|
+
cortexdb_dot_v1_dot_graph__pb2.ImportKnowledgeGraphRequest.SerializeToString,
|
|
479
|
+
cortexdb_dot_v1_dot_graph__pb2.ImportKnowledgeGraphResponse.FromString,
|
|
480
|
+
options,
|
|
481
|
+
channel_credentials,
|
|
482
|
+
insecure,
|
|
483
|
+
call_credentials,
|
|
484
|
+
compression,
|
|
485
|
+
wait_for_ready,
|
|
486
|
+
timeout,
|
|
487
|
+
metadata,
|
|
488
|
+
_registered_method=True)
|
|
489
|
+
|
|
490
|
+
@staticmethod
|
|
491
|
+
def ExportKnowledgeGraph(request,
|
|
492
|
+
target,
|
|
493
|
+
options=(),
|
|
494
|
+
channel_credentials=None,
|
|
495
|
+
call_credentials=None,
|
|
496
|
+
insecure=False,
|
|
497
|
+
compression=None,
|
|
498
|
+
wait_for_ready=None,
|
|
499
|
+
timeout=None,
|
|
500
|
+
metadata=None):
|
|
501
|
+
return grpc.experimental.unary_unary(
|
|
502
|
+
request,
|
|
503
|
+
target,
|
|
504
|
+
'/cortexdb.v1.KnowledgeGraphService/ExportKnowledgeGraph',
|
|
505
|
+
cortexdb_dot_v1_dot_graph__pb2.ExportKnowledgeGraphRequest.SerializeToString,
|
|
506
|
+
cortexdb_dot_v1_dot_graph__pb2.ExportKnowledgeGraphResponse.FromString,
|
|
507
|
+
options,
|
|
508
|
+
channel_credentials,
|
|
509
|
+
insecure,
|
|
510
|
+
call_credentials,
|
|
511
|
+
compression,
|
|
512
|
+
wait_for_ready,
|
|
513
|
+
timeout,
|
|
514
|
+
metadata,
|
|
515
|
+
_registered_method=True)
|
|
516
|
+
|
|
517
|
+
@staticmethod
|
|
518
|
+
def QuerySparql(request,
|
|
519
|
+
target,
|
|
520
|
+
options=(),
|
|
521
|
+
channel_credentials=None,
|
|
522
|
+
call_credentials=None,
|
|
523
|
+
insecure=False,
|
|
524
|
+
compression=None,
|
|
525
|
+
wait_for_ready=None,
|
|
526
|
+
timeout=None,
|
|
527
|
+
metadata=None):
|
|
528
|
+
return grpc.experimental.unary_unary(
|
|
529
|
+
request,
|
|
530
|
+
target,
|
|
531
|
+
'/cortexdb.v1.KnowledgeGraphService/QuerySparql',
|
|
532
|
+
cortexdb_dot_v1_dot_graph__pb2.QuerySparqlRequest.SerializeToString,
|
|
533
|
+
cortexdb_dot_v1_dot_graph__pb2.QuerySparqlResponse.FromString,
|
|
534
|
+
options,
|
|
535
|
+
channel_credentials,
|
|
536
|
+
insecure,
|
|
537
|
+
call_credentials,
|
|
538
|
+
compression,
|
|
539
|
+
wait_for_ready,
|
|
540
|
+
timeout,
|
|
541
|
+
metadata,
|
|
542
|
+
_registered_method=True)
|
|
543
|
+
|
|
544
|
+
@staticmethod
|
|
545
|
+
def ValidateShacl(request,
|
|
546
|
+
target,
|
|
547
|
+
options=(),
|
|
548
|
+
channel_credentials=None,
|
|
549
|
+
call_credentials=None,
|
|
550
|
+
insecure=False,
|
|
551
|
+
compression=None,
|
|
552
|
+
wait_for_ready=None,
|
|
553
|
+
timeout=None,
|
|
554
|
+
metadata=None):
|
|
555
|
+
return grpc.experimental.unary_unary(
|
|
556
|
+
request,
|
|
557
|
+
target,
|
|
558
|
+
'/cortexdb.v1.KnowledgeGraphService/ValidateShacl',
|
|
559
|
+
cortexdb_dot_v1_dot_graph__pb2.ValidateShaclRequest.SerializeToString,
|
|
560
|
+
cortexdb_dot_v1_dot_graph__pb2.ValidateShaclResponse.FromString,
|
|
561
|
+
options,
|
|
562
|
+
channel_credentials,
|
|
563
|
+
insecure,
|
|
564
|
+
call_credentials,
|
|
565
|
+
compression,
|
|
566
|
+
wait_for_ready,
|
|
567
|
+
timeout,
|
|
568
|
+
metadata,
|
|
569
|
+
_registered_method=True)
|
|
570
|
+
|
|
571
|
+
@staticmethod
|
|
572
|
+
def RefreshInference(request,
|
|
573
|
+
target,
|
|
574
|
+
options=(),
|
|
575
|
+
channel_credentials=None,
|
|
576
|
+
call_credentials=None,
|
|
577
|
+
insecure=False,
|
|
578
|
+
compression=None,
|
|
579
|
+
wait_for_ready=None,
|
|
580
|
+
timeout=None,
|
|
581
|
+
metadata=None):
|
|
582
|
+
return grpc.experimental.unary_unary(
|
|
583
|
+
request,
|
|
584
|
+
target,
|
|
585
|
+
'/cortexdb.v1.KnowledgeGraphService/RefreshInference',
|
|
586
|
+
cortexdb_dot_v1_dot_graph__pb2.RefreshInferenceRequest.SerializeToString,
|
|
587
|
+
cortexdb_dot_v1_dot_graph__pb2.RefreshInferenceResponse.FromString,
|
|
588
|
+
options,
|
|
589
|
+
channel_credentials,
|
|
590
|
+
insecure,
|
|
591
|
+
call_credentials,
|
|
592
|
+
compression,
|
|
593
|
+
wait_for_ready,
|
|
594
|
+
timeout,
|
|
595
|
+
metadata,
|
|
596
|
+
_registered_method=True)
|
|
597
|
+
|
|
598
|
+
@staticmethod
|
|
599
|
+
def SummarizeInference(request,
|
|
600
|
+
target,
|
|
601
|
+
options=(),
|
|
602
|
+
channel_credentials=None,
|
|
603
|
+
call_credentials=None,
|
|
604
|
+
insecure=False,
|
|
605
|
+
compression=None,
|
|
606
|
+
wait_for_ready=None,
|
|
607
|
+
timeout=None,
|
|
608
|
+
metadata=None):
|
|
609
|
+
return grpc.experimental.unary_unary(
|
|
610
|
+
request,
|
|
611
|
+
target,
|
|
612
|
+
'/cortexdb.v1.KnowledgeGraphService/SummarizeInference',
|
|
613
|
+
cortexdb_dot_v1_dot_graph__pb2.SummarizeInferenceRequest.SerializeToString,
|
|
614
|
+
cortexdb_dot_v1_dot_graph__pb2.SummarizeInferenceResponse.FromString,
|
|
615
|
+
options,
|
|
616
|
+
channel_credentials,
|
|
617
|
+
insecure,
|
|
618
|
+
call_credentials,
|
|
619
|
+
compression,
|
|
620
|
+
wait_for_ready,
|
|
621
|
+
timeout,
|
|
622
|
+
metadata,
|
|
623
|
+
_registered_method=True)
|
|
624
|
+
|
|
625
|
+
@staticmethod
|
|
626
|
+
def ExplainInference(request,
|
|
627
|
+
target,
|
|
628
|
+
options=(),
|
|
629
|
+
channel_credentials=None,
|
|
630
|
+
call_credentials=None,
|
|
631
|
+
insecure=False,
|
|
632
|
+
compression=None,
|
|
633
|
+
wait_for_ready=None,
|
|
634
|
+
timeout=None,
|
|
635
|
+
metadata=None):
|
|
636
|
+
return grpc.experimental.unary_unary(
|
|
637
|
+
request,
|
|
638
|
+
target,
|
|
639
|
+
'/cortexdb.v1.KnowledgeGraphService/ExplainInference',
|
|
640
|
+
cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceRequest.SerializeToString,
|
|
641
|
+
cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceResponse.FromString,
|
|
642
|
+
options,
|
|
643
|
+
channel_credentials,
|
|
644
|
+
insecure,
|
|
645
|
+
call_credentials,
|
|
646
|
+
compression,
|
|
647
|
+
wait_for_ready,
|
|
648
|
+
timeout,
|
|
649
|
+
metadata,
|
|
650
|
+
_registered_method=True)
|
|
651
|
+
|
|
652
|
+
@staticmethod
|
|
653
|
+
def ExplainInferenceMatch(request,
|
|
654
|
+
target,
|
|
655
|
+
options=(),
|
|
656
|
+
channel_credentials=None,
|
|
657
|
+
call_credentials=None,
|
|
658
|
+
insecure=False,
|
|
659
|
+
compression=None,
|
|
660
|
+
wait_for_ready=None,
|
|
661
|
+
timeout=None,
|
|
662
|
+
metadata=None):
|
|
663
|
+
return grpc.experimental.unary_unary(
|
|
664
|
+
request,
|
|
665
|
+
target,
|
|
666
|
+
'/cortexdb.v1.KnowledgeGraphService/ExplainInferenceMatch',
|
|
667
|
+
cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceMatchRequest.SerializeToString,
|
|
668
|
+
cortexdb_dot_v1_dot_graph__pb2.ExplainInferenceMatchResponse.FromString,
|
|
669
|
+
options,
|
|
670
|
+
channel_credentials,
|
|
671
|
+
insecure,
|
|
672
|
+
call_credentials,
|
|
673
|
+
compression,
|
|
674
|
+
wait_for_ready,
|
|
675
|
+
timeout,
|
|
676
|
+
metadata,
|
|
677
|
+
_registered_method=True)
|
|
678
|
+
|
|
679
|
+
@staticmethod
|
|
680
|
+
def SaveOntologySchema(request,
|
|
681
|
+
target,
|
|
682
|
+
options=(),
|
|
683
|
+
channel_credentials=None,
|
|
684
|
+
call_credentials=None,
|
|
685
|
+
insecure=False,
|
|
686
|
+
compression=None,
|
|
687
|
+
wait_for_ready=None,
|
|
688
|
+
timeout=None,
|
|
689
|
+
metadata=None):
|
|
690
|
+
return grpc.experimental.unary_unary(
|
|
691
|
+
request,
|
|
692
|
+
target,
|
|
693
|
+
'/cortexdb.v1.KnowledgeGraphService/SaveOntologySchema',
|
|
694
|
+
cortexdb_dot_v1_dot_graph__pb2.SaveOntologySchemaRequest.SerializeToString,
|
|
695
|
+
cortexdb_dot_v1_dot_graph__pb2.SaveOntologySchemaResponse.FromString,
|
|
696
|
+
options,
|
|
697
|
+
channel_credentials,
|
|
698
|
+
insecure,
|
|
699
|
+
call_credentials,
|
|
700
|
+
compression,
|
|
701
|
+
wait_for_ready,
|
|
702
|
+
timeout,
|
|
703
|
+
metadata,
|
|
704
|
+
_registered_method=True)
|
|
705
|
+
|
|
706
|
+
@staticmethod
|
|
707
|
+
def GetOntologySchema(request,
|
|
708
|
+
target,
|
|
709
|
+
options=(),
|
|
710
|
+
channel_credentials=None,
|
|
711
|
+
call_credentials=None,
|
|
712
|
+
insecure=False,
|
|
713
|
+
compression=None,
|
|
714
|
+
wait_for_ready=None,
|
|
715
|
+
timeout=None,
|
|
716
|
+
metadata=None):
|
|
717
|
+
return grpc.experimental.unary_unary(
|
|
718
|
+
request,
|
|
719
|
+
target,
|
|
720
|
+
'/cortexdb.v1.KnowledgeGraphService/GetOntologySchema',
|
|
721
|
+
cortexdb_dot_v1_dot_graph__pb2.GetOntologySchemaRequest.SerializeToString,
|
|
722
|
+
cortexdb_dot_v1_dot_graph__pb2.GetOntologySchemaResponse.FromString,
|
|
723
|
+
options,
|
|
724
|
+
channel_credentials,
|
|
725
|
+
insecure,
|
|
726
|
+
call_credentials,
|
|
727
|
+
compression,
|
|
728
|
+
wait_for_ready,
|
|
729
|
+
timeout,
|
|
730
|
+
metadata,
|
|
731
|
+
_registered_method=True)
|
|
732
|
+
|
|
733
|
+
@staticmethod
|
|
734
|
+
def ListOntologySchemas(request,
|
|
735
|
+
target,
|
|
736
|
+
options=(),
|
|
737
|
+
channel_credentials=None,
|
|
738
|
+
call_credentials=None,
|
|
739
|
+
insecure=False,
|
|
740
|
+
compression=None,
|
|
741
|
+
wait_for_ready=None,
|
|
742
|
+
timeout=None,
|
|
743
|
+
metadata=None):
|
|
744
|
+
return grpc.experimental.unary_unary(
|
|
745
|
+
request,
|
|
746
|
+
target,
|
|
747
|
+
'/cortexdb.v1.KnowledgeGraphService/ListOntologySchemas',
|
|
748
|
+
cortexdb_dot_v1_dot_graph__pb2.ListOntologySchemasRequest.SerializeToString,
|
|
749
|
+
cortexdb_dot_v1_dot_graph__pb2.ListOntologySchemasResponse.FromString,
|
|
750
|
+
options,
|
|
751
|
+
channel_credentials,
|
|
752
|
+
insecure,
|
|
753
|
+
call_credentials,
|
|
754
|
+
compression,
|
|
755
|
+
wait_for_ready,
|
|
756
|
+
timeout,
|
|
757
|
+
metadata,
|
|
758
|
+
_registered_method=True)
|
|
759
|
+
|
|
760
|
+
@staticmethod
|
|
761
|
+
def DeleteOntologySchema(request,
|
|
762
|
+
target,
|
|
763
|
+
options=(),
|
|
764
|
+
channel_credentials=None,
|
|
765
|
+
call_credentials=None,
|
|
766
|
+
insecure=False,
|
|
767
|
+
compression=None,
|
|
768
|
+
wait_for_ready=None,
|
|
769
|
+
timeout=None,
|
|
770
|
+
metadata=None):
|
|
771
|
+
return grpc.experimental.unary_unary(
|
|
772
|
+
request,
|
|
773
|
+
target,
|
|
774
|
+
'/cortexdb.v1.KnowledgeGraphService/DeleteOntologySchema',
|
|
775
|
+
cortexdb_dot_v1_dot_graph__pb2.DeleteOntologySchemaRequest.SerializeToString,
|
|
776
|
+
cortexdb_dot_v1_dot_graph__pb2.DeleteOntologySchemaResponse.FromString,
|
|
777
|
+
options,
|
|
778
|
+
channel_credentials,
|
|
779
|
+
insecure,
|
|
780
|
+
call_credentials,
|
|
781
|
+
compression,
|
|
782
|
+
wait_for_ready,
|
|
783
|
+
timeout,
|
|
784
|
+
metadata,
|
|
785
|
+
_registered_method=True)
|