@@ -103,7 +103,7 @@ channel = Channel(host="127.0.0.1", port=1369)
103
103
``` py
104
104
105
105
from grpclib.client import Channel
106
- from ahnlich_client_py.grpc.services import DbServiceStub
106
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
107
107
from ahnlich_client_py.grpc.db import query as db_query
108
108
109
109
# Initialize client
@@ -127,7 +127,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
127
127
128
128
``` py
129
129
from grpclib.client import Channel
130
- from ahnlich_client_py.grpc.services import DbServiceStub
130
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
131
131
from ahnlich_client_py.grpc.db import query as db_query
132
132
133
133
async with Channel(host = " 127.0.0.1" , port = 1369 ) as channel:
@@ -142,7 +142,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
142
142
143
143
``` py
144
144
from grpclib.client import Channel
145
- from ahnlich_client_py.grpc.services import DbServiceStub
145
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
146
146
from ahnlich_client_py.grpc.db import query as db_query
147
147
148
148
async with Channel(host = " 127.0.0.1" , port = 1369 ) as channel:
@@ -155,7 +155,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
155
155
156
156
``` py
157
157
from grpclib.client import Channel
158
- from ahnlich_client_py.grpc.services import DbServiceStub
158
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
159
159
from ahnlich_client_py.grpc.db import query as db_query
160
160
161
161
async with Channel(host = " 127.0.0.1" , port = 1369 ) as channel:
@@ -172,7 +172,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
172
172
173
173
``` py
174
174
from grpclib.client import Channel
175
- from ahnlich_client_py.grpc.services import DbServiceStub
175
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
176
176
from ahnlich_client_py.grpc.db import query as db_query
177
177
178
178
async with Channel(host = " 127.0.0.1" , port = 1369 ) as channel:
@@ -199,7 +199,7 @@ Store dimensions is a one dimensional array of length N
199
199
### Set
200
200
``` py
201
201
from grpclib.client import Channel
202
- from ahnlich_client_py.grpc.services import DbServiceStub
202
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
203
203
from ahnlich_client_py.grpc import keyval, metadata
204
204
from ahnlich_client_py.grpc.db import query as db_query
205
205
@@ -224,7 +224,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
224
224
### Drop store
225
225
``` py
226
226
from grpclib.client import Channel
227
- from ahnlich_client_py.grpc.services import DbServiceStub
227
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
228
228
from ahnlich_client_py.grpc.db import query as db_query
229
229
230
230
async with Channel(host = " 127.0.0.1" , port = 1369 ) as channel:
@@ -245,7 +245,7 @@ Returns an array of tuple of (store_key, store_value) of Maximum specified N
245
245
246
246
``` py
247
247
from grpclib.client import Channel
248
- from ahnlich_client_py.grpc.services import DbServiceStub
248
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
249
249
from ahnlich_client_py.grpc.db import query as db_query
250
250
from ahnlich_client_py.grpc.shared.algorithm import Algorithm
251
251
@@ -273,7 +273,7 @@ Returns an array of tuple of (store_key, store_value)
273
273
274
274
``` py
275
275
from grpclib.client import Channel
276
- from ahnlich_client_py.grpc.services import DbServiceStub
276
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
277
277
from ahnlich_client_py.grpc.db import query as db_query
278
278
279
279
async with Channel(host = " 127.0.0.1" , port = 1369 ) as channel:
@@ -296,7 +296,7 @@ Same as Get_key but returns results based defined conditions
296
296
297
297
``` py
298
298
from grpclib.client import Channel
299
- from ahnlich_client_py.grpc.services import DbServiceStub
299
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
300
300
from ahnlich_client_py.grpc.db import query as db_query
301
301
from ahnlich_client_py.grpc import predicates, metadata
302
302
@@ -324,7 +324,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
324
324
### Create Predicate Index
325
325
``` py
326
326
from grpclib.client import Channel
327
- from ahnlich_client_py.grpc.services import DbServiceStub
327
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
328
328
from ahnlich_client_py.grpc.db import query as db_query
329
329
330
330
async with Channel(host = " 127.0.0.1" , port = 1369 ) as channel:
@@ -342,7 +342,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
342
342
### Drop Predicate Index
343
343
``` py
344
344
from grpclib.client import Channel
345
- from ahnlich_client_py.grpc.services import DbServiceStub
345
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
346
346
from ahnlich_client_py.grpc.db import query as db_query
347
347
348
348
async with Channel(host = " 127.0.0.1" , port = 1369 ) as channel:
@@ -361,7 +361,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
361
361
### Create Non Linear Algorithm Index
362
362
``` py
363
363
from grpclib.client import Channel
364
- from ahnlich_client_py.grpc.services import DbServiceStub
364
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
365
365
from ahnlich_client_py.grpc.db import query as db_query
366
366
from ahnlich_client_py.grpc.algorithm.algorithms import NonLinearAlgorithm
367
367
@@ -380,7 +380,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
380
380
### Drop Non Linear Algorithm Index
381
381
``` py
382
382
from grpclib.client import Channel
383
- from ahnlich_client_py.grpc.services import DbServiceStub
383
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
384
384
from ahnlich_client_py.grpc.db import query as db_query
385
385
from ahnlich_client_py.grpc.algorithm.algorithms import NonLinearAlgorithm
386
386
@@ -401,7 +401,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
401
401
### Delete Key
402
402
``` py
403
403
from grpclib.client import Channel
404
- from ahnlich_client_py.grpc.services import DbServiceStub
404
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
405
405
from ahnlich_client_py.grpc.db import query as db_query
406
406
from ahnlich_client_py.grpc import keyval
407
407
@@ -422,7 +422,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
422
422
### Delete Predicate
423
423
``` py
424
424
from grpclib.client import Channel
425
- from ahnlich_client_py.grpc.services import DbServiceStub
425
+ from ahnlich_client_py.grpc.services.db_service import DbServiceStub
426
426
from ahnlich_client_py.grpc.db import query as db_query
427
427
from ahnlich_client_py.grpc import predicates, metadata
428
428
@@ -455,7 +455,7 @@ async with Channel(host="127.0.0.1", port=1369) as channel:
455
455
456
456
``` py
457
457
from grpclib.client import Channel
458
- from ahnlich_client_py.grpc.services import AiServiceStub
458
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
459
459
from ahnlich_client_py.grpc.ai import query as ai_query
460
460
461
461
async with Channel(host = " 127.0.0.1" , port = 1370 ) as channel:
@@ -467,7 +467,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
467
467
468
468
``` py
469
469
from grpclib.client import Channel
470
- from ahnlich_client_py.grpc.services import AiServiceStub
470
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
471
471
from ahnlich_client_py.grpc.ai import query as ai_query
472
472
473
473
async with Channel(host = " 127.0.0.1" , port = 1370 ) as channel:
@@ -479,7 +479,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
479
479
480
480
``` py
481
481
from grpclib.client import Channel
482
- from ahnlich_client_py.grpc.services import AiServiceStub
482
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
483
483
from ahnlich_client_py.grpc.ai import query as ai_query
484
484
485
485
async with Channel(host = " 127.0.0.1" , port = 1370 ) as channel:
@@ -493,7 +493,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
493
493
``` py
494
494
495
495
from grpclib.client import Channel
496
- from ahnlich_client_py.grpc.services import AiServiceStub
496
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
497
497
from ahnlich_client_py.grpc.ai import query as ai_query
498
498
from ahnlich_client_py.grpc.ai.models import AiModel
499
499
@@ -520,7 +520,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
520
520
``` py
521
521
522
522
from grpclib.client import Channel
523
- from ahnlich_client_py.grpc.services import AiServiceStub
523
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
524
524
from ahnlich_client_py.grpc.ai import query as ai_query
525
525
from ahnlich_client_py.grpc import keyval, metadata
526
526
from ahnlich_client_py.grpc.ai import preprocess
@@ -553,7 +553,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
553
553
### Drop store
554
554
``` py
555
555
from grpclib.client import Channel
556
- from ahnlich_client_py.grpc.services import AiServiceStub
556
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
557
557
from ahnlich_client_py.grpc.ai import query as ai_query
558
558
559
559
async with Channel(host = " 127.0.0.1" , port = 1370 ) as channel:
@@ -574,7 +574,7 @@ Returns an array of tuple of (store_key, store_value) of Maximum specified N
574
574
575
575
``` py
576
576
from grpclib.client import Channel
577
- from ahnlich_client_py.grpc.services import AiServiceStub
577
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
578
578
from ahnlich_client_py.grpc.ai import query as ai_query
579
579
from ahnlich_client_py.grpc import keyval, algorithms
580
580
@@ -606,7 +606,7 @@ Same as Get_key but returns results based defined conditions
606
606
607
607
``` py
608
608
from grpclib.client import Channel
609
- from ahnlich_client_py.grpc.services import AiServiceStub
609
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
610
610
from ahnlich_client_py.grpc.ai import query as ai_query
611
611
from ahnlich_client_py.grpc import predicates, metadata
612
612
@@ -631,7 +631,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
631
631
### Create Predicate Index
632
632
``` py
633
633
from grpclib.client import Channel
634
- from ahnlich_client_py.grpc.services import AiServiceStub
634
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
635
635
from ahnlich_client_py.grpc.ai import query as ai_query
636
636
637
637
async with Channel(host = " 127.0.0.1" , port = 1370 ) as channel:
@@ -647,7 +647,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
647
647
### Drop Predicate Index
648
648
``` py
649
649
from grpclib.client import Channel
650
- from ahnlich_client_py.grpc.services import AiServiceStub
650
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
651
651
from ahnlich_client_py.grpc.ai import query as ai_query
652
652
653
653
async with Channel(host = " 127.0.0.1" , port = 1370 ) as channel:
@@ -664,7 +664,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
664
664
### Create Non Linear Algorithm Index
665
665
``` py
666
666
from grpclib.client import Channel
667
- from ahnlich_client_py.grpc.services import AiServiceStub
667
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
668
668
from ahnlich_client_py.grpc.ai import query as ai_query
669
669
from ahnlich_client_py.grpc.algorithm.nonlinear import NonLinearAlgorithm
670
670
@@ -682,7 +682,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
682
682
### Drop Non Linear Algorithm Index
683
683
``` py
684
684
from grpclib.client import Channel
685
- from ahnlich_client_py.grpc.services import AiServiceStub
685
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
686
686
from ahnlich_client_py.grpc.ai import query as ai_query
687
687
from ahnlich_client_py.grpc.algorithm.nonlinear import NonLinearAlgorithm
688
688
@@ -703,7 +703,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
703
703
``` py
704
704
705
705
from grpclib.client import Channel
706
- from ahnlich_client_py.grpc.services import AiServiceStub
706
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
707
707
from ahnlich_client_py.grpc.ai import query as ai_query
708
708
from ahnlich_client_py.grpc import keyval
709
709
@@ -722,7 +722,7 @@ async with Channel(host="127.0.0.1", port=1370) as channel:
722
722
723
723
``` py
724
724
from grpclib.client import Channel
725
- from ahnlich_client_py.grpc.services import AiServiceStub
725
+ from ahnlich_client_py.grpc.services.ai_service import AiServiceStub
726
726
from ahnlich_client_py.grpc.ai import query as ai_query
727
727
728
728
async with Channel(host = " 127.0.0.1" , port = 1370 ) as channel:
0 commit comments