langgraph-api 0.4.28__py3-none-any.whl → 0.4.29__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.

Potentially problematic release.


This version of langgraph-api might be problematic. Click here for more details.

@@ -0,0 +1,1400 @@
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 . import core_api_pb2 as core__api__pb2
7
+ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
8
+
9
+ GRPC_GENERATED_VERSION = '1.75.0'
10
+ GRPC_VERSION = grpc.__version__
11
+ _version_not_supported = False
12
+
13
+ try:
14
+ from grpc._utilities import first_version_is_lower
15
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
16
+ except ImportError:
17
+ _version_not_supported = True
18
+
19
+ if _version_not_supported:
20
+ raise RuntimeError(
21
+ f'The grpc package installed is at version {GRPC_VERSION},'
22
+ + f' but the generated code in core_api_pb2_grpc.py depends on'
23
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
24
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
25
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
26
+ )
27
+
28
+
29
+ class AssistantsStub(object):
30
+ """Missing associated documentation comment in .proto file."""
31
+
32
+ def __init__(self, channel):
33
+ """Constructor.
34
+
35
+ Args:
36
+ channel: A grpc.Channel.
37
+ """
38
+ self.Get = channel.unary_unary(
39
+ '/coreApi.Assistants/Get',
40
+ request_serializer=core__api__pb2.GetAssistantRequest.SerializeToString,
41
+ response_deserializer=core__api__pb2.Assistant.FromString,
42
+ _registered_method=True)
43
+ self.Create = channel.unary_unary(
44
+ '/coreApi.Assistants/Create',
45
+ request_serializer=core__api__pb2.CreateAssistantRequest.SerializeToString,
46
+ response_deserializer=core__api__pb2.Assistant.FromString,
47
+ _registered_method=True)
48
+ self.Patch = channel.unary_unary(
49
+ '/coreApi.Assistants/Patch',
50
+ request_serializer=core__api__pb2.PatchAssistantRequest.SerializeToString,
51
+ response_deserializer=core__api__pb2.Assistant.FromString,
52
+ _registered_method=True)
53
+ self.Delete = channel.unary_unary(
54
+ '/coreApi.Assistants/Delete',
55
+ request_serializer=core__api__pb2.DeleteAssistantRequest.SerializeToString,
56
+ response_deserializer=core__api__pb2.DeleteAssistantsResponse.FromString,
57
+ _registered_method=True)
58
+ self.Search = channel.unary_unary(
59
+ '/coreApi.Assistants/Search',
60
+ request_serializer=core__api__pb2.SearchAssistantsRequest.SerializeToString,
61
+ response_deserializer=core__api__pb2.SearchAssistantsResponse.FromString,
62
+ _registered_method=True)
63
+ self.SetLatest = channel.unary_unary(
64
+ '/coreApi.Assistants/SetLatest',
65
+ request_serializer=core__api__pb2.SetLatestAssistantRequest.SerializeToString,
66
+ response_deserializer=core__api__pb2.Assistant.FromString,
67
+ _registered_method=True)
68
+ self.GetVersions = channel.unary_unary(
69
+ '/coreApi.Assistants/GetVersions',
70
+ request_serializer=core__api__pb2.GetAssistantVersionsRequest.SerializeToString,
71
+ response_deserializer=core__api__pb2.GetAssistantVersionsResponse.FromString,
72
+ _registered_method=True)
73
+ self.Count = channel.unary_unary(
74
+ '/coreApi.Assistants/Count',
75
+ request_serializer=core__api__pb2.CountAssistantsRequest.SerializeToString,
76
+ response_deserializer=core__api__pb2.CountResponse.FromString,
77
+ _registered_method=True)
78
+
79
+
80
+ class AssistantsServicer(object):
81
+ """Missing associated documentation comment in .proto file."""
82
+
83
+ def Get(self, request, context):
84
+ """Missing associated documentation comment in .proto file."""
85
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
86
+ context.set_details('Method not implemented!')
87
+ raise NotImplementedError('Method not implemented!')
88
+
89
+ def Create(self, request, context):
90
+ """Missing associated documentation comment in .proto file."""
91
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
92
+ context.set_details('Method not implemented!')
93
+ raise NotImplementedError('Method not implemented!')
94
+
95
+ def Patch(self, request, context):
96
+ """Missing associated documentation comment in .proto file."""
97
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
98
+ context.set_details('Method not implemented!')
99
+ raise NotImplementedError('Method not implemented!')
100
+
101
+ def Delete(self, request, context):
102
+ """Missing associated documentation comment in .proto file."""
103
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
104
+ context.set_details('Method not implemented!')
105
+ raise NotImplementedError('Method not implemented!')
106
+
107
+ def Search(self, request, context):
108
+ """Missing associated documentation comment in .proto file."""
109
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
110
+ context.set_details('Method not implemented!')
111
+ raise NotImplementedError('Method not implemented!')
112
+
113
+ def SetLatest(self, request, context):
114
+ """Missing associated documentation comment in .proto file."""
115
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
116
+ context.set_details('Method not implemented!')
117
+ raise NotImplementedError('Method not implemented!')
118
+
119
+ def GetVersions(self, request, context):
120
+ """Missing associated documentation comment in .proto file."""
121
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
122
+ context.set_details('Method not implemented!')
123
+ raise NotImplementedError('Method not implemented!')
124
+
125
+ def Count(self, request, context):
126
+ """Missing associated documentation comment in .proto file."""
127
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
128
+ context.set_details('Method not implemented!')
129
+ raise NotImplementedError('Method not implemented!')
130
+
131
+
132
+ def add_AssistantsServicer_to_server(servicer, server):
133
+ rpc_method_handlers = {
134
+ 'Get': grpc.unary_unary_rpc_method_handler(
135
+ servicer.Get,
136
+ request_deserializer=core__api__pb2.GetAssistantRequest.FromString,
137
+ response_serializer=core__api__pb2.Assistant.SerializeToString,
138
+ ),
139
+ 'Create': grpc.unary_unary_rpc_method_handler(
140
+ servicer.Create,
141
+ request_deserializer=core__api__pb2.CreateAssistantRequest.FromString,
142
+ response_serializer=core__api__pb2.Assistant.SerializeToString,
143
+ ),
144
+ 'Patch': grpc.unary_unary_rpc_method_handler(
145
+ servicer.Patch,
146
+ request_deserializer=core__api__pb2.PatchAssistantRequest.FromString,
147
+ response_serializer=core__api__pb2.Assistant.SerializeToString,
148
+ ),
149
+ 'Delete': grpc.unary_unary_rpc_method_handler(
150
+ servicer.Delete,
151
+ request_deserializer=core__api__pb2.DeleteAssistantRequest.FromString,
152
+ response_serializer=core__api__pb2.DeleteAssistantsResponse.SerializeToString,
153
+ ),
154
+ 'Search': grpc.unary_unary_rpc_method_handler(
155
+ servicer.Search,
156
+ request_deserializer=core__api__pb2.SearchAssistantsRequest.FromString,
157
+ response_serializer=core__api__pb2.SearchAssistantsResponse.SerializeToString,
158
+ ),
159
+ 'SetLatest': grpc.unary_unary_rpc_method_handler(
160
+ servicer.SetLatest,
161
+ request_deserializer=core__api__pb2.SetLatestAssistantRequest.FromString,
162
+ response_serializer=core__api__pb2.Assistant.SerializeToString,
163
+ ),
164
+ 'GetVersions': grpc.unary_unary_rpc_method_handler(
165
+ servicer.GetVersions,
166
+ request_deserializer=core__api__pb2.GetAssistantVersionsRequest.FromString,
167
+ response_serializer=core__api__pb2.GetAssistantVersionsResponse.SerializeToString,
168
+ ),
169
+ 'Count': grpc.unary_unary_rpc_method_handler(
170
+ servicer.Count,
171
+ request_deserializer=core__api__pb2.CountAssistantsRequest.FromString,
172
+ response_serializer=core__api__pb2.CountResponse.SerializeToString,
173
+ ),
174
+ }
175
+ generic_handler = grpc.method_handlers_generic_handler(
176
+ 'coreApi.Assistants', rpc_method_handlers)
177
+ server.add_generic_rpc_handlers((generic_handler,))
178
+ server.add_registered_method_handlers('coreApi.Assistants', rpc_method_handlers)
179
+
180
+
181
+ # This class is part of an EXPERIMENTAL API.
182
+ class Assistants(object):
183
+ """Missing associated documentation comment in .proto file."""
184
+
185
+ @staticmethod
186
+ def Get(request,
187
+ target,
188
+ options=(),
189
+ channel_credentials=None,
190
+ call_credentials=None,
191
+ insecure=False,
192
+ compression=None,
193
+ wait_for_ready=None,
194
+ timeout=None,
195
+ metadata=None):
196
+ return grpc.experimental.unary_unary(
197
+ request,
198
+ target,
199
+ '/coreApi.Assistants/Get',
200
+ core__api__pb2.GetAssistantRequest.SerializeToString,
201
+ core__api__pb2.Assistant.FromString,
202
+ options,
203
+ channel_credentials,
204
+ insecure,
205
+ call_credentials,
206
+ compression,
207
+ wait_for_ready,
208
+ timeout,
209
+ metadata,
210
+ _registered_method=True)
211
+
212
+ @staticmethod
213
+ def Create(request,
214
+ target,
215
+ options=(),
216
+ channel_credentials=None,
217
+ call_credentials=None,
218
+ insecure=False,
219
+ compression=None,
220
+ wait_for_ready=None,
221
+ timeout=None,
222
+ metadata=None):
223
+ return grpc.experimental.unary_unary(
224
+ request,
225
+ target,
226
+ '/coreApi.Assistants/Create',
227
+ core__api__pb2.CreateAssistantRequest.SerializeToString,
228
+ core__api__pb2.Assistant.FromString,
229
+ options,
230
+ channel_credentials,
231
+ insecure,
232
+ call_credentials,
233
+ compression,
234
+ wait_for_ready,
235
+ timeout,
236
+ metadata,
237
+ _registered_method=True)
238
+
239
+ @staticmethod
240
+ def Patch(request,
241
+ target,
242
+ options=(),
243
+ channel_credentials=None,
244
+ call_credentials=None,
245
+ insecure=False,
246
+ compression=None,
247
+ wait_for_ready=None,
248
+ timeout=None,
249
+ metadata=None):
250
+ return grpc.experimental.unary_unary(
251
+ request,
252
+ target,
253
+ '/coreApi.Assistants/Patch',
254
+ core__api__pb2.PatchAssistantRequest.SerializeToString,
255
+ core__api__pb2.Assistant.FromString,
256
+ options,
257
+ channel_credentials,
258
+ insecure,
259
+ call_credentials,
260
+ compression,
261
+ wait_for_ready,
262
+ timeout,
263
+ metadata,
264
+ _registered_method=True)
265
+
266
+ @staticmethod
267
+ def Delete(request,
268
+ target,
269
+ options=(),
270
+ channel_credentials=None,
271
+ call_credentials=None,
272
+ insecure=False,
273
+ compression=None,
274
+ wait_for_ready=None,
275
+ timeout=None,
276
+ metadata=None):
277
+ return grpc.experimental.unary_unary(
278
+ request,
279
+ target,
280
+ '/coreApi.Assistants/Delete',
281
+ core__api__pb2.DeleteAssistantRequest.SerializeToString,
282
+ core__api__pb2.DeleteAssistantsResponse.FromString,
283
+ options,
284
+ channel_credentials,
285
+ insecure,
286
+ call_credentials,
287
+ compression,
288
+ wait_for_ready,
289
+ timeout,
290
+ metadata,
291
+ _registered_method=True)
292
+
293
+ @staticmethod
294
+ def Search(request,
295
+ target,
296
+ options=(),
297
+ channel_credentials=None,
298
+ call_credentials=None,
299
+ insecure=False,
300
+ compression=None,
301
+ wait_for_ready=None,
302
+ timeout=None,
303
+ metadata=None):
304
+ return grpc.experimental.unary_unary(
305
+ request,
306
+ target,
307
+ '/coreApi.Assistants/Search',
308
+ core__api__pb2.SearchAssistantsRequest.SerializeToString,
309
+ core__api__pb2.SearchAssistantsResponse.FromString,
310
+ options,
311
+ channel_credentials,
312
+ insecure,
313
+ call_credentials,
314
+ compression,
315
+ wait_for_ready,
316
+ timeout,
317
+ metadata,
318
+ _registered_method=True)
319
+
320
+ @staticmethod
321
+ def SetLatest(request,
322
+ target,
323
+ options=(),
324
+ channel_credentials=None,
325
+ call_credentials=None,
326
+ insecure=False,
327
+ compression=None,
328
+ wait_for_ready=None,
329
+ timeout=None,
330
+ metadata=None):
331
+ return grpc.experimental.unary_unary(
332
+ request,
333
+ target,
334
+ '/coreApi.Assistants/SetLatest',
335
+ core__api__pb2.SetLatestAssistantRequest.SerializeToString,
336
+ core__api__pb2.Assistant.FromString,
337
+ options,
338
+ channel_credentials,
339
+ insecure,
340
+ call_credentials,
341
+ compression,
342
+ wait_for_ready,
343
+ timeout,
344
+ metadata,
345
+ _registered_method=True)
346
+
347
+ @staticmethod
348
+ def GetVersions(request,
349
+ target,
350
+ options=(),
351
+ channel_credentials=None,
352
+ call_credentials=None,
353
+ insecure=False,
354
+ compression=None,
355
+ wait_for_ready=None,
356
+ timeout=None,
357
+ metadata=None):
358
+ return grpc.experimental.unary_unary(
359
+ request,
360
+ target,
361
+ '/coreApi.Assistants/GetVersions',
362
+ core__api__pb2.GetAssistantVersionsRequest.SerializeToString,
363
+ core__api__pb2.GetAssistantVersionsResponse.FromString,
364
+ options,
365
+ channel_credentials,
366
+ insecure,
367
+ call_credentials,
368
+ compression,
369
+ wait_for_ready,
370
+ timeout,
371
+ metadata,
372
+ _registered_method=True)
373
+
374
+ @staticmethod
375
+ def Count(request,
376
+ target,
377
+ options=(),
378
+ channel_credentials=None,
379
+ call_credentials=None,
380
+ insecure=False,
381
+ compression=None,
382
+ wait_for_ready=None,
383
+ timeout=None,
384
+ metadata=None):
385
+ return grpc.experimental.unary_unary(
386
+ request,
387
+ target,
388
+ '/coreApi.Assistants/Count',
389
+ core__api__pb2.CountAssistantsRequest.SerializeToString,
390
+ core__api__pb2.CountResponse.FromString,
391
+ options,
392
+ channel_credentials,
393
+ insecure,
394
+ call_credentials,
395
+ compression,
396
+ wait_for_ready,
397
+ timeout,
398
+ metadata,
399
+ _registered_method=True)
400
+
401
+
402
+ class AdminStub(object):
403
+ """Global database admin operations.
404
+ """
405
+
406
+ def __init__(self, channel):
407
+ """Constructor.
408
+
409
+ Args:
410
+ channel: A grpc.Channel.
411
+ """
412
+ self.Truncate = channel.unary_unary(
413
+ '/coreApi.Admin/Truncate',
414
+ request_serializer=core__api__pb2.TruncateRequest.SerializeToString,
415
+ response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
416
+ _registered_method=True)
417
+
418
+
419
+ class AdminServicer(object):
420
+ """Global database admin operations.
421
+ """
422
+
423
+ def Truncate(self, request, context):
424
+ """Truncate all RDBMS data (supported in dev only!)
425
+ """
426
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
427
+ context.set_details('Method not implemented!')
428
+ raise NotImplementedError('Method not implemented!')
429
+
430
+
431
+ def add_AdminServicer_to_server(servicer, server):
432
+ rpc_method_handlers = {
433
+ 'Truncate': grpc.unary_unary_rpc_method_handler(
434
+ servicer.Truncate,
435
+ request_deserializer=core__api__pb2.TruncateRequest.FromString,
436
+ response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
437
+ ),
438
+ }
439
+ generic_handler = grpc.method_handlers_generic_handler(
440
+ 'coreApi.Admin', rpc_method_handlers)
441
+ server.add_generic_rpc_handlers((generic_handler,))
442
+ server.add_registered_method_handlers('coreApi.Admin', rpc_method_handlers)
443
+
444
+
445
+ # This class is part of an EXPERIMENTAL API.
446
+ class Admin(object):
447
+ """Global database admin operations.
448
+ """
449
+
450
+ @staticmethod
451
+ def Truncate(request,
452
+ target,
453
+ options=(),
454
+ channel_credentials=None,
455
+ call_credentials=None,
456
+ insecure=False,
457
+ compression=None,
458
+ wait_for_ready=None,
459
+ timeout=None,
460
+ metadata=None):
461
+ return grpc.experimental.unary_unary(
462
+ request,
463
+ target,
464
+ '/coreApi.Admin/Truncate',
465
+ core__api__pb2.TruncateRequest.SerializeToString,
466
+ google_dot_protobuf_dot_empty__pb2.Empty.FromString,
467
+ options,
468
+ channel_credentials,
469
+ insecure,
470
+ call_credentials,
471
+ compression,
472
+ wait_for_ready,
473
+ timeout,
474
+ metadata,
475
+ _registered_method=True)
476
+
477
+
478
+ class ThreadsStub(object):
479
+ """Missing associated documentation comment in .proto file."""
480
+
481
+ def __init__(self, channel):
482
+ """Constructor.
483
+
484
+ Args:
485
+ channel: A grpc.Channel.
486
+ """
487
+ self.Create = channel.unary_unary(
488
+ '/coreApi.Threads/Create',
489
+ request_serializer=core__api__pb2.CreateThreadRequest.SerializeToString,
490
+ response_deserializer=core__api__pb2.Thread.FromString,
491
+ _registered_method=True)
492
+ self.Get = channel.unary_unary(
493
+ '/coreApi.Threads/Get',
494
+ request_serializer=core__api__pb2.GetThreadRequest.SerializeToString,
495
+ response_deserializer=core__api__pb2.Thread.FromString,
496
+ _registered_method=True)
497
+ self.Patch = channel.unary_unary(
498
+ '/coreApi.Threads/Patch',
499
+ request_serializer=core__api__pb2.PatchThreadRequest.SerializeToString,
500
+ response_deserializer=core__api__pb2.Thread.FromString,
501
+ _registered_method=True)
502
+ self.Delete = channel.unary_unary(
503
+ '/coreApi.Threads/Delete',
504
+ request_serializer=core__api__pb2.DeleteThreadRequest.SerializeToString,
505
+ response_deserializer=core__api__pb2.UUID.FromString,
506
+ _registered_method=True)
507
+ self.Search = channel.unary_unary(
508
+ '/coreApi.Threads/Search',
509
+ request_serializer=core__api__pb2.SearchThreadsRequest.SerializeToString,
510
+ response_deserializer=core__api__pb2.SearchThreadsResponse.FromString,
511
+ _registered_method=True)
512
+ self.Count = channel.unary_unary(
513
+ '/coreApi.Threads/Count',
514
+ request_serializer=core__api__pb2.CountThreadsRequest.SerializeToString,
515
+ response_deserializer=core__api__pb2.CountResponse.FromString,
516
+ _registered_method=True)
517
+ self.Copy = channel.unary_unary(
518
+ '/coreApi.Threads/Copy',
519
+ request_serializer=core__api__pb2.CopyThreadRequest.SerializeToString,
520
+ response_deserializer=core__api__pb2.Thread.FromString,
521
+ _registered_method=True)
522
+ self.SetStatus = channel.unary_unary(
523
+ '/coreApi.Threads/SetStatus',
524
+ request_serializer=core__api__pb2.SetThreadStatusRequest.SerializeToString,
525
+ response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
526
+ _registered_method=True)
527
+ self.SetJointStatus = channel.unary_unary(
528
+ '/coreApi.Threads/SetJointStatus',
529
+ request_serializer=core__api__pb2.SetThreadJointStatusRequest.SerializeToString,
530
+ response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
531
+ _registered_method=True)
532
+ self.JointRollback = channel.unary_unary(
533
+ '/coreApi.Threads/JointRollback',
534
+ request_serializer=core__api__pb2.JointRollbackRequest.SerializeToString,
535
+ response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
536
+ _registered_method=True)
537
+ self.SweepTTL = channel.unary_unary(
538
+ '/coreApi.Threads/SweepTTL',
539
+ request_serializer=core__api__pb2.SweepThreadsTTLRequest.SerializeToString,
540
+ response_deserializer=core__api__pb2.SweepThreadsTTLResponse.FromString,
541
+ _registered_method=True)
542
+
543
+
544
+ class ThreadsServicer(object):
545
+ """Missing associated documentation comment in .proto file."""
546
+
547
+ def Create(self, request, context):
548
+ """Missing associated documentation comment in .proto file."""
549
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
550
+ context.set_details('Method not implemented!')
551
+ raise NotImplementedError('Method not implemented!')
552
+
553
+ def Get(self, request, context):
554
+ """Missing associated documentation comment in .proto file."""
555
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
556
+ context.set_details('Method not implemented!')
557
+ raise NotImplementedError('Method not implemented!')
558
+
559
+ def Patch(self, request, context):
560
+ """Missing associated documentation comment in .proto file."""
561
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
562
+ context.set_details('Method not implemented!')
563
+ raise NotImplementedError('Method not implemented!')
564
+
565
+ def Delete(self, request, context):
566
+ """Missing associated documentation comment in .proto file."""
567
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
568
+ context.set_details('Method not implemented!')
569
+ raise NotImplementedError('Method not implemented!')
570
+
571
+ def Search(self, request, context):
572
+ """Missing associated documentation comment in .proto file."""
573
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
574
+ context.set_details('Method not implemented!')
575
+ raise NotImplementedError('Method not implemented!')
576
+
577
+ def Count(self, request, context):
578
+ """Missing associated documentation comment in .proto file."""
579
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
580
+ context.set_details('Method not implemented!')
581
+ raise NotImplementedError('Method not implemented!')
582
+
583
+ def Copy(self, request, context):
584
+ """Missing associated documentation comment in .proto file."""
585
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
586
+ context.set_details('Method not implemented!')
587
+ raise NotImplementedError('Method not implemented!')
588
+
589
+ def SetStatus(self, request, context):
590
+ """Missing associated documentation comment in .proto file."""
591
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
592
+ context.set_details('Method not implemented!')
593
+ raise NotImplementedError('Method not implemented!')
594
+
595
+ def SetJointStatus(self, request, context):
596
+ """Set the status of a thread and run atomically.
597
+ """
598
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
599
+ context.set_details('Method not implemented!')
600
+ raise NotImplementedError('Method not implemented!')
601
+
602
+ def JointRollback(self, request, context):
603
+ """Roll back a run and update a thread's status atomically.
604
+ """
605
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
606
+ context.set_details('Method not implemented!')
607
+ raise NotImplementedError('Method not implemented!')
608
+
609
+ def SweepTTL(self, request, context):
610
+ """Delete expired threads (based on TTL configurations).
611
+ """
612
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
613
+ context.set_details('Method not implemented!')
614
+ raise NotImplementedError('Method not implemented!')
615
+
616
+
617
+ def add_ThreadsServicer_to_server(servicer, server):
618
+ rpc_method_handlers = {
619
+ 'Create': grpc.unary_unary_rpc_method_handler(
620
+ servicer.Create,
621
+ request_deserializer=core__api__pb2.CreateThreadRequest.FromString,
622
+ response_serializer=core__api__pb2.Thread.SerializeToString,
623
+ ),
624
+ 'Get': grpc.unary_unary_rpc_method_handler(
625
+ servicer.Get,
626
+ request_deserializer=core__api__pb2.GetThreadRequest.FromString,
627
+ response_serializer=core__api__pb2.Thread.SerializeToString,
628
+ ),
629
+ 'Patch': grpc.unary_unary_rpc_method_handler(
630
+ servicer.Patch,
631
+ request_deserializer=core__api__pb2.PatchThreadRequest.FromString,
632
+ response_serializer=core__api__pb2.Thread.SerializeToString,
633
+ ),
634
+ 'Delete': grpc.unary_unary_rpc_method_handler(
635
+ servicer.Delete,
636
+ request_deserializer=core__api__pb2.DeleteThreadRequest.FromString,
637
+ response_serializer=core__api__pb2.UUID.SerializeToString,
638
+ ),
639
+ 'Search': grpc.unary_unary_rpc_method_handler(
640
+ servicer.Search,
641
+ request_deserializer=core__api__pb2.SearchThreadsRequest.FromString,
642
+ response_serializer=core__api__pb2.SearchThreadsResponse.SerializeToString,
643
+ ),
644
+ 'Count': grpc.unary_unary_rpc_method_handler(
645
+ servicer.Count,
646
+ request_deserializer=core__api__pb2.CountThreadsRequest.FromString,
647
+ response_serializer=core__api__pb2.CountResponse.SerializeToString,
648
+ ),
649
+ 'Copy': grpc.unary_unary_rpc_method_handler(
650
+ servicer.Copy,
651
+ request_deserializer=core__api__pb2.CopyThreadRequest.FromString,
652
+ response_serializer=core__api__pb2.Thread.SerializeToString,
653
+ ),
654
+ 'SetStatus': grpc.unary_unary_rpc_method_handler(
655
+ servicer.SetStatus,
656
+ request_deserializer=core__api__pb2.SetThreadStatusRequest.FromString,
657
+ response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
658
+ ),
659
+ 'SetJointStatus': grpc.unary_unary_rpc_method_handler(
660
+ servicer.SetJointStatus,
661
+ request_deserializer=core__api__pb2.SetThreadJointStatusRequest.FromString,
662
+ response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
663
+ ),
664
+ 'JointRollback': grpc.unary_unary_rpc_method_handler(
665
+ servicer.JointRollback,
666
+ request_deserializer=core__api__pb2.JointRollbackRequest.FromString,
667
+ response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
668
+ ),
669
+ 'SweepTTL': grpc.unary_unary_rpc_method_handler(
670
+ servicer.SweepTTL,
671
+ request_deserializer=core__api__pb2.SweepThreadsTTLRequest.FromString,
672
+ response_serializer=core__api__pb2.SweepThreadsTTLResponse.SerializeToString,
673
+ ),
674
+ }
675
+ generic_handler = grpc.method_handlers_generic_handler(
676
+ 'coreApi.Threads', rpc_method_handlers)
677
+ server.add_generic_rpc_handlers((generic_handler,))
678
+ server.add_registered_method_handlers('coreApi.Threads', rpc_method_handlers)
679
+
680
+
681
+ # This class is part of an EXPERIMENTAL API.
682
+ class Threads(object):
683
+ """Missing associated documentation comment in .proto file."""
684
+
685
+ @staticmethod
686
+ def Create(request,
687
+ target,
688
+ options=(),
689
+ channel_credentials=None,
690
+ call_credentials=None,
691
+ insecure=False,
692
+ compression=None,
693
+ wait_for_ready=None,
694
+ timeout=None,
695
+ metadata=None):
696
+ return grpc.experimental.unary_unary(
697
+ request,
698
+ target,
699
+ '/coreApi.Threads/Create',
700
+ core__api__pb2.CreateThreadRequest.SerializeToString,
701
+ core__api__pb2.Thread.FromString,
702
+ options,
703
+ channel_credentials,
704
+ insecure,
705
+ call_credentials,
706
+ compression,
707
+ wait_for_ready,
708
+ timeout,
709
+ metadata,
710
+ _registered_method=True)
711
+
712
+ @staticmethod
713
+ def Get(request,
714
+ target,
715
+ options=(),
716
+ channel_credentials=None,
717
+ call_credentials=None,
718
+ insecure=False,
719
+ compression=None,
720
+ wait_for_ready=None,
721
+ timeout=None,
722
+ metadata=None):
723
+ return grpc.experimental.unary_unary(
724
+ request,
725
+ target,
726
+ '/coreApi.Threads/Get',
727
+ core__api__pb2.GetThreadRequest.SerializeToString,
728
+ core__api__pb2.Thread.FromString,
729
+ options,
730
+ channel_credentials,
731
+ insecure,
732
+ call_credentials,
733
+ compression,
734
+ wait_for_ready,
735
+ timeout,
736
+ metadata,
737
+ _registered_method=True)
738
+
739
+ @staticmethod
740
+ def Patch(request,
741
+ target,
742
+ options=(),
743
+ channel_credentials=None,
744
+ call_credentials=None,
745
+ insecure=False,
746
+ compression=None,
747
+ wait_for_ready=None,
748
+ timeout=None,
749
+ metadata=None):
750
+ return grpc.experimental.unary_unary(
751
+ request,
752
+ target,
753
+ '/coreApi.Threads/Patch',
754
+ core__api__pb2.PatchThreadRequest.SerializeToString,
755
+ core__api__pb2.Thread.FromString,
756
+ options,
757
+ channel_credentials,
758
+ insecure,
759
+ call_credentials,
760
+ compression,
761
+ wait_for_ready,
762
+ timeout,
763
+ metadata,
764
+ _registered_method=True)
765
+
766
+ @staticmethod
767
+ def Delete(request,
768
+ target,
769
+ options=(),
770
+ channel_credentials=None,
771
+ call_credentials=None,
772
+ insecure=False,
773
+ compression=None,
774
+ wait_for_ready=None,
775
+ timeout=None,
776
+ metadata=None):
777
+ return grpc.experimental.unary_unary(
778
+ request,
779
+ target,
780
+ '/coreApi.Threads/Delete',
781
+ core__api__pb2.DeleteThreadRequest.SerializeToString,
782
+ core__api__pb2.UUID.FromString,
783
+ options,
784
+ channel_credentials,
785
+ insecure,
786
+ call_credentials,
787
+ compression,
788
+ wait_for_ready,
789
+ timeout,
790
+ metadata,
791
+ _registered_method=True)
792
+
793
+ @staticmethod
794
+ def Search(request,
795
+ target,
796
+ options=(),
797
+ channel_credentials=None,
798
+ call_credentials=None,
799
+ insecure=False,
800
+ compression=None,
801
+ wait_for_ready=None,
802
+ timeout=None,
803
+ metadata=None):
804
+ return grpc.experimental.unary_unary(
805
+ request,
806
+ target,
807
+ '/coreApi.Threads/Search',
808
+ core__api__pb2.SearchThreadsRequest.SerializeToString,
809
+ core__api__pb2.SearchThreadsResponse.FromString,
810
+ options,
811
+ channel_credentials,
812
+ insecure,
813
+ call_credentials,
814
+ compression,
815
+ wait_for_ready,
816
+ timeout,
817
+ metadata,
818
+ _registered_method=True)
819
+
820
+ @staticmethod
821
+ def Count(request,
822
+ target,
823
+ options=(),
824
+ channel_credentials=None,
825
+ call_credentials=None,
826
+ insecure=False,
827
+ compression=None,
828
+ wait_for_ready=None,
829
+ timeout=None,
830
+ metadata=None):
831
+ return grpc.experimental.unary_unary(
832
+ request,
833
+ target,
834
+ '/coreApi.Threads/Count',
835
+ core__api__pb2.CountThreadsRequest.SerializeToString,
836
+ core__api__pb2.CountResponse.FromString,
837
+ options,
838
+ channel_credentials,
839
+ insecure,
840
+ call_credentials,
841
+ compression,
842
+ wait_for_ready,
843
+ timeout,
844
+ metadata,
845
+ _registered_method=True)
846
+
847
+ @staticmethod
848
+ def Copy(request,
849
+ target,
850
+ options=(),
851
+ channel_credentials=None,
852
+ call_credentials=None,
853
+ insecure=False,
854
+ compression=None,
855
+ wait_for_ready=None,
856
+ timeout=None,
857
+ metadata=None):
858
+ return grpc.experimental.unary_unary(
859
+ request,
860
+ target,
861
+ '/coreApi.Threads/Copy',
862
+ core__api__pb2.CopyThreadRequest.SerializeToString,
863
+ core__api__pb2.Thread.FromString,
864
+ options,
865
+ channel_credentials,
866
+ insecure,
867
+ call_credentials,
868
+ compression,
869
+ wait_for_ready,
870
+ timeout,
871
+ metadata,
872
+ _registered_method=True)
873
+
874
+ @staticmethod
875
+ def SetStatus(request,
876
+ target,
877
+ options=(),
878
+ channel_credentials=None,
879
+ call_credentials=None,
880
+ insecure=False,
881
+ compression=None,
882
+ wait_for_ready=None,
883
+ timeout=None,
884
+ metadata=None):
885
+ return grpc.experimental.unary_unary(
886
+ request,
887
+ target,
888
+ '/coreApi.Threads/SetStatus',
889
+ core__api__pb2.SetThreadStatusRequest.SerializeToString,
890
+ google_dot_protobuf_dot_empty__pb2.Empty.FromString,
891
+ options,
892
+ channel_credentials,
893
+ insecure,
894
+ call_credentials,
895
+ compression,
896
+ wait_for_ready,
897
+ timeout,
898
+ metadata,
899
+ _registered_method=True)
900
+
901
+ @staticmethod
902
+ def SetJointStatus(request,
903
+ target,
904
+ options=(),
905
+ channel_credentials=None,
906
+ call_credentials=None,
907
+ insecure=False,
908
+ compression=None,
909
+ wait_for_ready=None,
910
+ timeout=None,
911
+ metadata=None):
912
+ return grpc.experimental.unary_unary(
913
+ request,
914
+ target,
915
+ '/coreApi.Threads/SetJointStatus',
916
+ core__api__pb2.SetThreadJointStatusRequest.SerializeToString,
917
+ google_dot_protobuf_dot_empty__pb2.Empty.FromString,
918
+ options,
919
+ channel_credentials,
920
+ insecure,
921
+ call_credentials,
922
+ compression,
923
+ wait_for_ready,
924
+ timeout,
925
+ metadata,
926
+ _registered_method=True)
927
+
928
+ @staticmethod
929
+ def JointRollback(request,
930
+ target,
931
+ options=(),
932
+ channel_credentials=None,
933
+ call_credentials=None,
934
+ insecure=False,
935
+ compression=None,
936
+ wait_for_ready=None,
937
+ timeout=None,
938
+ metadata=None):
939
+ return grpc.experimental.unary_unary(
940
+ request,
941
+ target,
942
+ '/coreApi.Threads/JointRollback',
943
+ core__api__pb2.JointRollbackRequest.SerializeToString,
944
+ google_dot_protobuf_dot_empty__pb2.Empty.FromString,
945
+ options,
946
+ channel_credentials,
947
+ insecure,
948
+ call_credentials,
949
+ compression,
950
+ wait_for_ready,
951
+ timeout,
952
+ metadata,
953
+ _registered_method=True)
954
+
955
+ @staticmethod
956
+ def SweepTTL(request,
957
+ target,
958
+ options=(),
959
+ channel_credentials=None,
960
+ call_credentials=None,
961
+ insecure=False,
962
+ compression=None,
963
+ wait_for_ready=None,
964
+ timeout=None,
965
+ metadata=None):
966
+ return grpc.experimental.unary_unary(
967
+ request,
968
+ target,
969
+ '/coreApi.Threads/SweepTTL',
970
+ core__api__pb2.SweepThreadsTTLRequest.SerializeToString,
971
+ core__api__pb2.SweepThreadsTTLResponse.FromString,
972
+ options,
973
+ channel_credentials,
974
+ insecure,
975
+ call_credentials,
976
+ compression,
977
+ wait_for_ready,
978
+ timeout,
979
+ metadata,
980
+ _registered_method=True)
981
+
982
+
983
+ class RunsStub(object):
984
+ """Missing associated documentation comment in .proto file."""
985
+
986
+ def __init__(self, channel):
987
+ """Constructor.
988
+
989
+ Args:
990
+ channel: A grpc.Channel.
991
+ """
992
+ self.Create = channel.unary_unary(
993
+ '/coreApi.Runs/Create',
994
+ request_serializer=core__api__pb2.CreateRunRequest.SerializeToString,
995
+ response_deserializer=core__api__pb2.Run.FromString,
996
+ _registered_method=True)
997
+ self.Get = channel.unary_unary(
998
+ '/coreApi.Runs/Get',
999
+ request_serializer=core__api__pb2.GetRunRequest.SerializeToString,
1000
+ response_deserializer=core__api__pb2.Run.FromString,
1001
+ _registered_method=True)
1002
+ self.Delete = channel.unary_unary(
1003
+ '/coreApi.Runs/Delete',
1004
+ request_serializer=core__api__pb2.DeleteRunRequest.SerializeToString,
1005
+ response_deserializer=core__api__pb2.UUID.FromString,
1006
+ _registered_method=True)
1007
+ self.Search = channel.unary_unary(
1008
+ '/coreApi.Runs/Search',
1009
+ request_serializer=core__api__pb2.SearchRunsRequest.SerializeToString,
1010
+ response_deserializer=core__api__pb2.SearchRunsResponse.FromString,
1011
+ _registered_method=True)
1012
+ self.Cancel = channel.unary_unary(
1013
+ '/coreApi.Runs/Cancel',
1014
+ request_serializer=core__api__pb2.CancelRunRequest.SerializeToString,
1015
+ response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
1016
+ _registered_method=True)
1017
+ self.SetStatus = channel.unary_unary(
1018
+ '/coreApi.Runs/SetStatus',
1019
+ request_serializer=core__api__pb2.SetRunStatusRequest.SerializeToString,
1020
+ response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
1021
+ _registered_method=True)
1022
+ self.Stats = channel.unary_unary(
1023
+ '/coreApi.Runs/Stats',
1024
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
1025
+ response_deserializer=core__api__pb2.QueueStats.FromString,
1026
+ _registered_method=True)
1027
+ self.Next = channel.unary_unary(
1028
+ '/coreApi.Runs/Next',
1029
+ request_serializer=core__api__pb2.NextRunRequest.SerializeToString,
1030
+ response_deserializer=core__api__pb2.NextRunResponse.FromString,
1031
+ _registered_method=True)
1032
+ self.Sweep = channel.unary_unary(
1033
+ '/coreApi.Runs/Sweep',
1034
+ request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
1035
+ response_deserializer=core__api__pb2.SweepRunsResponse.FromString,
1036
+ _registered_method=True)
1037
+
1038
+
1039
+ class RunsServicer(object):
1040
+ """Missing associated documentation comment in .proto file."""
1041
+
1042
+ def Create(self, request, context):
1043
+ """Missing associated documentation comment in .proto file."""
1044
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1045
+ context.set_details('Method not implemented!')
1046
+ raise NotImplementedError('Method not implemented!')
1047
+
1048
+ def Get(self, request, context):
1049
+ """Missing associated documentation comment in .proto file."""
1050
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1051
+ context.set_details('Method not implemented!')
1052
+ raise NotImplementedError('Method not implemented!')
1053
+
1054
+ def Delete(self, request, context):
1055
+ """Missing associated documentation comment in .proto file."""
1056
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1057
+ context.set_details('Method not implemented!')
1058
+ raise NotImplementedError('Method not implemented!')
1059
+
1060
+ def Search(self, request, context):
1061
+ """Missing associated documentation comment in .proto file."""
1062
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1063
+ context.set_details('Method not implemented!')
1064
+ raise NotImplementedError('Method not implemented!')
1065
+
1066
+ def Cancel(self, request, context):
1067
+ """Missing associated documentation comment in .proto file."""
1068
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1069
+ context.set_details('Method not implemented!')
1070
+ raise NotImplementedError('Method not implemented!')
1071
+
1072
+ def SetStatus(self, request, context):
1073
+ """Missing associated documentation comment in .proto file."""
1074
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1075
+ context.set_details('Method not implemented!')
1076
+ raise NotImplementedError('Method not implemented!')
1077
+
1078
+ def Stats(self, request, context):
1079
+ """Get run queue statistics (internal method)
1080
+ """
1081
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1082
+ context.set_details('Method not implemented!')
1083
+ raise NotImplementedError('Method not implemented!')
1084
+
1085
+ def Next(self, request, context):
1086
+ """Get next run from queue (internal worker method)
1087
+ TODO: come back
1088
+ """
1089
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1090
+ context.set_details('Method not implemented!')
1091
+ raise NotImplementedError('Method not implemented!')
1092
+
1093
+ def Sweep(self, request, context):
1094
+ """Sweep abandoned runs (internal method)
1095
+ """
1096
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
1097
+ context.set_details('Method not implemented!')
1098
+ raise NotImplementedError('Method not implemented!')
1099
+
1100
+
1101
+ def add_RunsServicer_to_server(servicer, server):
1102
+ rpc_method_handlers = {
1103
+ 'Create': grpc.unary_unary_rpc_method_handler(
1104
+ servicer.Create,
1105
+ request_deserializer=core__api__pb2.CreateRunRequest.FromString,
1106
+ response_serializer=core__api__pb2.Run.SerializeToString,
1107
+ ),
1108
+ 'Get': grpc.unary_unary_rpc_method_handler(
1109
+ servicer.Get,
1110
+ request_deserializer=core__api__pb2.GetRunRequest.FromString,
1111
+ response_serializer=core__api__pb2.Run.SerializeToString,
1112
+ ),
1113
+ 'Delete': grpc.unary_unary_rpc_method_handler(
1114
+ servicer.Delete,
1115
+ request_deserializer=core__api__pb2.DeleteRunRequest.FromString,
1116
+ response_serializer=core__api__pb2.UUID.SerializeToString,
1117
+ ),
1118
+ 'Search': grpc.unary_unary_rpc_method_handler(
1119
+ servicer.Search,
1120
+ request_deserializer=core__api__pb2.SearchRunsRequest.FromString,
1121
+ response_serializer=core__api__pb2.SearchRunsResponse.SerializeToString,
1122
+ ),
1123
+ 'Cancel': grpc.unary_unary_rpc_method_handler(
1124
+ servicer.Cancel,
1125
+ request_deserializer=core__api__pb2.CancelRunRequest.FromString,
1126
+ response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
1127
+ ),
1128
+ 'SetStatus': grpc.unary_unary_rpc_method_handler(
1129
+ servicer.SetStatus,
1130
+ request_deserializer=core__api__pb2.SetRunStatusRequest.FromString,
1131
+ response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
1132
+ ),
1133
+ 'Stats': grpc.unary_unary_rpc_method_handler(
1134
+ servicer.Stats,
1135
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
1136
+ response_serializer=core__api__pb2.QueueStats.SerializeToString,
1137
+ ),
1138
+ 'Next': grpc.unary_unary_rpc_method_handler(
1139
+ servicer.Next,
1140
+ request_deserializer=core__api__pb2.NextRunRequest.FromString,
1141
+ response_serializer=core__api__pb2.NextRunResponse.SerializeToString,
1142
+ ),
1143
+ 'Sweep': grpc.unary_unary_rpc_method_handler(
1144
+ servicer.Sweep,
1145
+ request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
1146
+ response_serializer=core__api__pb2.SweepRunsResponse.SerializeToString,
1147
+ ),
1148
+ }
1149
+ generic_handler = grpc.method_handlers_generic_handler(
1150
+ 'coreApi.Runs', rpc_method_handlers)
1151
+ server.add_generic_rpc_handlers((generic_handler,))
1152
+ server.add_registered_method_handlers('coreApi.Runs', rpc_method_handlers)
1153
+
1154
+
1155
+ # This class is part of an EXPERIMENTAL API.
1156
+ class Runs(object):
1157
+ """Missing associated documentation comment in .proto file."""
1158
+
1159
+ @staticmethod
1160
+ def Create(request,
1161
+ target,
1162
+ options=(),
1163
+ channel_credentials=None,
1164
+ call_credentials=None,
1165
+ insecure=False,
1166
+ compression=None,
1167
+ wait_for_ready=None,
1168
+ timeout=None,
1169
+ metadata=None):
1170
+ return grpc.experimental.unary_unary(
1171
+ request,
1172
+ target,
1173
+ '/coreApi.Runs/Create',
1174
+ core__api__pb2.CreateRunRequest.SerializeToString,
1175
+ core__api__pb2.Run.FromString,
1176
+ options,
1177
+ channel_credentials,
1178
+ insecure,
1179
+ call_credentials,
1180
+ compression,
1181
+ wait_for_ready,
1182
+ timeout,
1183
+ metadata,
1184
+ _registered_method=True)
1185
+
1186
+ @staticmethod
1187
+ def Get(request,
1188
+ target,
1189
+ options=(),
1190
+ channel_credentials=None,
1191
+ call_credentials=None,
1192
+ insecure=False,
1193
+ compression=None,
1194
+ wait_for_ready=None,
1195
+ timeout=None,
1196
+ metadata=None):
1197
+ return grpc.experimental.unary_unary(
1198
+ request,
1199
+ target,
1200
+ '/coreApi.Runs/Get',
1201
+ core__api__pb2.GetRunRequest.SerializeToString,
1202
+ core__api__pb2.Run.FromString,
1203
+ options,
1204
+ channel_credentials,
1205
+ insecure,
1206
+ call_credentials,
1207
+ compression,
1208
+ wait_for_ready,
1209
+ timeout,
1210
+ metadata,
1211
+ _registered_method=True)
1212
+
1213
+ @staticmethod
1214
+ def Delete(request,
1215
+ target,
1216
+ options=(),
1217
+ channel_credentials=None,
1218
+ call_credentials=None,
1219
+ insecure=False,
1220
+ compression=None,
1221
+ wait_for_ready=None,
1222
+ timeout=None,
1223
+ metadata=None):
1224
+ return grpc.experimental.unary_unary(
1225
+ request,
1226
+ target,
1227
+ '/coreApi.Runs/Delete',
1228
+ core__api__pb2.DeleteRunRequest.SerializeToString,
1229
+ core__api__pb2.UUID.FromString,
1230
+ options,
1231
+ channel_credentials,
1232
+ insecure,
1233
+ call_credentials,
1234
+ compression,
1235
+ wait_for_ready,
1236
+ timeout,
1237
+ metadata,
1238
+ _registered_method=True)
1239
+
1240
+ @staticmethod
1241
+ def Search(request,
1242
+ target,
1243
+ options=(),
1244
+ channel_credentials=None,
1245
+ call_credentials=None,
1246
+ insecure=False,
1247
+ compression=None,
1248
+ wait_for_ready=None,
1249
+ timeout=None,
1250
+ metadata=None):
1251
+ return grpc.experimental.unary_unary(
1252
+ request,
1253
+ target,
1254
+ '/coreApi.Runs/Search',
1255
+ core__api__pb2.SearchRunsRequest.SerializeToString,
1256
+ core__api__pb2.SearchRunsResponse.FromString,
1257
+ options,
1258
+ channel_credentials,
1259
+ insecure,
1260
+ call_credentials,
1261
+ compression,
1262
+ wait_for_ready,
1263
+ timeout,
1264
+ metadata,
1265
+ _registered_method=True)
1266
+
1267
+ @staticmethod
1268
+ def Cancel(request,
1269
+ target,
1270
+ options=(),
1271
+ channel_credentials=None,
1272
+ call_credentials=None,
1273
+ insecure=False,
1274
+ compression=None,
1275
+ wait_for_ready=None,
1276
+ timeout=None,
1277
+ metadata=None):
1278
+ return grpc.experimental.unary_unary(
1279
+ request,
1280
+ target,
1281
+ '/coreApi.Runs/Cancel',
1282
+ core__api__pb2.CancelRunRequest.SerializeToString,
1283
+ google_dot_protobuf_dot_empty__pb2.Empty.FromString,
1284
+ options,
1285
+ channel_credentials,
1286
+ insecure,
1287
+ call_credentials,
1288
+ compression,
1289
+ wait_for_ready,
1290
+ timeout,
1291
+ metadata,
1292
+ _registered_method=True)
1293
+
1294
+ @staticmethod
1295
+ def SetStatus(request,
1296
+ target,
1297
+ options=(),
1298
+ channel_credentials=None,
1299
+ call_credentials=None,
1300
+ insecure=False,
1301
+ compression=None,
1302
+ wait_for_ready=None,
1303
+ timeout=None,
1304
+ metadata=None):
1305
+ return grpc.experimental.unary_unary(
1306
+ request,
1307
+ target,
1308
+ '/coreApi.Runs/SetStatus',
1309
+ core__api__pb2.SetRunStatusRequest.SerializeToString,
1310
+ google_dot_protobuf_dot_empty__pb2.Empty.FromString,
1311
+ options,
1312
+ channel_credentials,
1313
+ insecure,
1314
+ call_credentials,
1315
+ compression,
1316
+ wait_for_ready,
1317
+ timeout,
1318
+ metadata,
1319
+ _registered_method=True)
1320
+
1321
+ @staticmethod
1322
+ def Stats(request,
1323
+ target,
1324
+ options=(),
1325
+ channel_credentials=None,
1326
+ call_credentials=None,
1327
+ insecure=False,
1328
+ compression=None,
1329
+ wait_for_ready=None,
1330
+ timeout=None,
1331
+ metadata=None):
1332
+ return grpc.experimental.unary_unary(
1333
+ request,
1334
+ target,
1335
+ '/coreApi.Runs/Stats',
1336
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
1337
+ core__api__pb2.QueueStats.FromString,
1338
+ options,
1339
+ channel_credentials,
1340
+ insecure,
1341
+ call_credentials,
1342
+ compression,
1343
+ wait_for_ready,
1344
+ timeout,
1345
+ metadata,
1346
+ _registered_method=True)
1347
+
1348
+ @staticmethod
1349
+ def Next(request,
1350
+ target,
1351
+ options=(),
1352
+ channel_credentials=None,
1353
+ call_credentials=None,
1354
+ insecure=False,
1355
+ compression=None,
1356
+ wait_for_ready=None,
1357
+ timeout=None,
1358
+ metadata=None):
1359
+ return grpc.experimental.unary_unary(
1360
+ request,
1361
+ target,
1362
+ '/coreApi.Runs/Next',
1363
+ core__api__pb2.NextRunRequest.SerializeToString,
1364
+ core__api__pb2.NextRunResponse.FromString,
1365
+ options,
1366
+ channel_credentials,
1367
+ insecure,
1368
+ call_credentials,
1369
+ compression,
1370
+ wait_for_ready,
1371
+ timeout,
1372
+ metadata,
1373
+ _registered_method=True)
1374
+
1375
+ @staticmethod
1376
+ def Sweep(request,
1377
+ target,
1378
+ options=(),
1379
+ channel_credentials=None,
1380
+ call_credentials=None,
1381
+ insecure=False,
1382
+ compression=None,
1383
+ wait_for_ready=None,
1384
+ timeout=None,
1385
+ metadata=None):
1386
+ return grpc.experimental.unary_unary(
1387
+ request,
1388
+ target,
1389
+ '/coreApi.Runs/Sweep',
1390
+ google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
1391
+ core__api__pb2.SweepRunsResponse.FromString,
1392
+ options,
1393
+ channel_credentials,
1394
+ insecure,
1395
+ call_credentials,
1396
+ compression,
1397
+ wait_for_ready,
1398
+ timeout,
1399
+ metadata,
1400
+ _registered_method=True)