durabletask 0.1.0a1__py3-none-any.whl → 1.0.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.
- durabletask/__init__.py +3 -0
- durabletask/client.py +85 -24
- durabletask/entities/__init__.py +13 -0
- durabletask/entities/durable_entity.py +93 -0
- durabletask/entities/entity_context.py +154 -0
- durabletask/entities/entity_instance_id.py +40 -0
- durabletask/entities/entity_lock.py +17 -0
- durabletask/internal/entity_state_shim.py +66 -0
- durabletask/internal/exceptions.py +11 -0
- durabletask/internal/grpc_interceptor.py +65 -0
- durabletask/internal/helpers.py +85 -22
- durabletask/internal/orchestration_entity_context.py +115 -0
- durabletask/internal/orchestrator_service_pb2.py +252 -137
- durabletask/internal/orchestrator_service_pb2.pyi +1144 -0
- durabletask/internal/orchestrator_service_pb2_grpc.py +985 -396
- durabletask/internal/shared.py +46 -8
- durabletask/task.py +276 -43
- durabletask/worker.py +1762 -227
- durabletask-1.0.0.dist-info/METADATA +64 -0
- durabletask-1.0.0.dist-info/RECORD +23 -0
- {durabletask-0.1.0a1.dist-info → durabletask-1.0.0.dist-info}/WHEEL +1 -1
- durabletask/internal/__init__.py +0 -0
- durabletask-0.1.0a1.dist-info/METADATA +0 -257
- durabletask-0.1.0a1.dist-info/RECORD +0 -14
- {durabletask-0.1.0a1.dist-info → durabletask-1.0.0.dist-info/licenses}/LICENSE +0 -0
- {durabletask-0.1.0a1.dist-info → durabletask-1.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1,10 +1,34 @@
|
|
|
1
1
|
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
2
|
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
3
|
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
from durabletask.internal import orchestrator_service_pb2 as durabletask_dot_internal_dot_orchestrator__service__pb2
|
|
4
7
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
5
8
|
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
GRPC_GENERATED_VERSION = '1.65.4'
|
|
10
|
+
GRPC_VERSION = grpc.__version__
|
|
11
|
+
EXPECTED_ERROR_RELEASE = '1.66.0'
|
|
12
|
+
SCHEDULED_RELEASE_DATE = 'August 6, 2024'
|
|
13
|
+
_version_not_supported = False
|
|
14
|
+
|
|
15
|
+
try:
|
|
16
|
+
from grpc._utilities import first_version_is_lower
|
|
17
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
18
|
+
except ImportError:
|
|
19
|
+
_version_not_supported = True
|
|
20
|
+
|
|
21
|
+
if _version_not_supported:
|
|
22
|
+
warnings.warn(
|
|
23
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
24
|
+
+ f' but the generated code in durabletask/internal/orchestrator_service_pb2_grpc.py depends on'
|
|
25
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
26
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
27
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
28
|
+
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
|
|
29
|
+
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
|
|
30
|
+
RuntimeWarning
|
|
31
|
+
)
|
|
8
32
|
|
|
9
33
|
|
|
10
34
|
class TaskHubSidecarServiceStub(object):
|
|
@@ -17,90 +41,135 @@ class TaskHubSidecarServiceStub(object):
|
|
|
17
41
|
channel: A grpc.Channel.
|
|
18
42
|
"""
|
|
19
43
|
self.Hello = channel.unary_unary(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
44
|
+
'/TaskHubSidecarService/Hello',
|
|
45
|
+
request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
46
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
47
|
+
_registered_method=True)
|
|
24
48
|
self.StartInstance = channel.unary_unary(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
49
|
+
'/TaskHubSidecarService/StartInstance',
|
|
50
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CreateInstanceRequest.SerializeToString,
|
|
51
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CreateInstanceResponse.FromString,
|
|
52
|
+
_registered_method=True)
|
|
29
53
|
self.GetInstance = channel.unary_unary(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
54
|
+
'/TaskHubSidecarService/GetInstance',
|
|
55
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceRequest.SerializeToString,
|
|
56
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceResponse.FromString,
|
|
57
|
+
_registered_method=True)
|
|
34
58
|
self.RewindInstance = channel.unary_unary(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
59
|
+
'/TaskHubSidecarService/RewindInstance',
|
|
60
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.RewindInstanceRequest.SerializeToString,
|
|
61
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.RewindInstanceResponse.FromString,
|
|
62
|
+
_registered_method=True)
|
|
39
63
|
self.WaitForInstanceStart = channel.unary_unary(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
64
|
+
'/TaskHubSidecarService/WaitForInstanceStart',
|
|
65
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceRequest.SerializeToString,
|
|
66
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceResponse.FromString,
|
|
67
|
+
_registered_method=True)
|
|
44
68
|
self.WaitForInstanceCompletion = channel.unary_unary(
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
69
|
+
'/TaskHubSidecarService/WaitForInstanceCompletion',
|
|
70
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceRequest.SerializeToString,
|
|
71
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceResponse.FromString,
|
|
72
|
+
_registered_method=True)
|
|
49
73
|
self.RaiseEvent = channel.unary_unary(
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
74
|
+
'/TaskHubSidecarService/RaiseEvent',
|
|
75
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.RaiseEventRequest.SerializeToString,
|
|
76
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.RaiseEventResponse.FromString,
|
|
77
|
+
_registered_method=True)
|
|
54
78
|
self.TerminateInstance = channel.unary_unary(
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
79
|
+
'/TaskHubSidecarService/TerminateInstance',
|
|
80
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.TerminateRequest.SerializeToString,
|
|
81
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.TerminateResponse.FromString,
|
|
82
|
+
_registered_method=True)
|
|
59
83
|
self.SuspendInstance = channel.unary_unary(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
84
|
+
'/TaskHubSidecarService/SuspendInstance',
|
|
85
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.SuspendRequest.SerializeToString,
|
|
86
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.SuspendResponse.FromString,
|
|
87
|
+
_registered_method=True)
|
|
64
88
|
self.ResumeInstance = channel.unary_unary(
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
89
|
+
'/TaskHubSidecarService/ResumeInstance',
|
|
90
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.ResumeRequest.SerializeToString,
|
|
91
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.ResumeResponse.FromString,
|
|
92
|
+
_registered_method=True)
|
|
69
93
|
self.QueryInstances = channel.unary_unary(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
94
|
+
'/TaskHubSidecarService/QueryInstances',
|
|
95
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.QueryInstancesRequest.SerializeToString,
|
|
96
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.QueryInstancesResponse.FromString,
|
|
97
|
+
_registered_method=True)
|
|
74
98
|
self.PurgeInstances = channel.unary_unary(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
99
|
+
'/TaskHubSidecarService/PurgeInstances',
|
|
100
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.PurgeInstancesRequest.SerializeToString,
|
|
101
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.PurgeInstancesResponse.FromString,
|
|
102
|
+
_registered_method=True)
|
|
79
103
|
self.GetWorkItems = channel.unary_stream(
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
104
|
+
'/TaskHubSidecarService/GetWorkItems',
|
|
105
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetWorkItemsRequest.SerializeToString,
|
|
106
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.WorkItem.FromString,
|
|
107
|
+
_registered_method=True)
|
|
84
108
|
self.CompleteActivityTask = channel.unary_unary(
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
109
|
+
'/TaskHubSidecarService/CompleteActivityTask',
|
|
110
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.ActivityResponse.SerializeToString,
|
|
111
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CompleteTaskResponse.FromString,
|
|
112
|
+
_registered_method=True)
|
|
89
113
|
self.CompleteOrchestratorTask = channel.unary_unary(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
114
|
+
'/TaskHubSidecarService/CompleteOrchestratorTask',
|
|
115
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.OrchestratorResponse.SerializeToString,
|
|
116
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CompleteTaskResponse.FromString,
|
|
117
|
+
_registered_method=True)
|
|
118
|
+
self.CompleteEntityTask = channel.unary_unary(
|
|
119
|
+
'/TaskHubSidecarService/CompleteEntityTask',
|
|
120
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.EntityBatchResult.SerializeToString,
|
|
121
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CompleteTaskResponse.FromString,
|
|
122
|
+
_registered_method=True)
|
|
123
|
+
self.StreamInstanceHistory = channel.unary_stream(
|
|
124
|
+
'/TaskHubSidecarService/StreamInstanceHistory',
|
|
125
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.StreamInstanceHistoryRequest.SerializeToString,
|
|
126
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.HistoryChunk.FromString,
|
|
127
|
+
_registered_method=True)
|
|
94
128
|
self.CreateTaskHub = channel.unary_unary(
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
129
|
+
'/TaskHubSidecarService/CreateTaskHub',
|
|
130
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CreateTaskHubRequest.SerializeToString,
|
|
131
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CreateTaskHubResponse.FromString,
|
|
132
|
+
_registered_method=True)
|
|
99
133
|
self.DeleteTaskHub = channel.unary_unary(
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
134
|
+
'/TaskHubSidecarService/DeleteTaskHub',
|
|
135
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.DeleteTaskHubRequest.SerializeToString,
|
|
136
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.DeleteTaskHubResponse.FromString,
|
|
137
|
+
_registered_method=True)
|
|
138
|
+
self.SignalEntity = channel.unary_unary(
|
|
139
|
+
'/TaskHubSidecarService/SignalEntity',
|
|
140
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.SignalEntityRequest.SerializeToString,
|
|
141
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.SignalEntityResponse.FromString,
|
|
142
|
+
_registered_method=True)
|
|
143
|
+
self.GetEntity = channel.unary_unary(
|
|
144
|
+
'/TaskHubSidecarService/GetEntity',
|
|
145
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetEntityRequest.SerializeToString,
|
|
146
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetEntityResponse.FromString,
|
|
147
|
+
_registered_method=True)
|
|
148
|
+
self.QueryEntities = channel.unary_unary(
|
|
149
|
+
'/TaskHubSidecarService/QueryEntities',
|
|
150
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.QueryEntitiesRequest.SerializeToString,
|
|
151
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.QueryEntitiesResponse.FromString,
|
|
152
|
+
_registered_method=True)
|
|
153
|
+
self.CleanEntityStorage = channel.unary_unary(
|
|
154
|
+
'/TaskHubSidecarService/CleanEntityStorage',
|
|
155
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CleanEntityStorageRequest.SerializeToString,
|
|
156
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CleanEntityStorageResponse.FromString,
|
|
157
|
+
_registered_method=True)
|
|
158
|
+
self.AbandonTaskActivityWorkItem = channel.unary_unary(
|
|
159
|
+
'/TaskHubSidecarService/AbandonTaskActivityWorkItem',
|
|
160
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonActivityTaskRequest.SerializeToString,
|
|
161
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonActivityTaskResponse.FromString,
|
|
162
|
+
_registered_method=True)
|
|
163
|
+
self.AbandonTaskOrchestratorWorkItem = channel.unary_unary(
|
|
164
|
+
'/TaskHubSidecarService/AbandonTaskOrchestratorWorkItem',
|
|
165
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonOrchestrationTaskRequest.SerializeToString,
|
|
166
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonOrchestrationTaskResponse.FromString,
|
|
167
|
+
_registered_method=True)
|
|
168
|
+
self.AbandonTaskEntityWorkItem = channel.unary_unary(
|
|
169
|
+
'/TaskHubSidecarService/AbandonTaskEntityWorkItem',
|
|
170
|
+
request_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonEntityTaskRequest.SerializeToString,
|
|
171
|
+
response_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonEntityTaskResponse.FromString,
|
|
172
|
+
_registered_method=True)
|
|
104
173
|
|
|
105
174
|
|
|
106
175
|
class TaskHubSidecarServiceServicer(object):
|
|
@@ -208,6 +277,19 @@ class TaskHubSidecarServiceServicer(object):
|
|
|
208
277
|
context.set_details('Method not implemented!')
|
|
209
278
|
raise NotImplementedError('Method not implemented!')
|
|
210
279
|
|
|
280
|
+
def CompleteEntityTask(self, request, context):
|
|
281
|
+
"""Missing associated documentation comment in .proto file."""
|
|
282
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
283
|
+
context.set_details('Method not implemented!')
|
|
284
|
+
raise NotImplementedError('Method not implemented!')
|
|
285
|
+
|
|
286
|
+
def StreamInstanceHistory(self, request, context):
|
|
287
|
+
"""Gets the history of an orchestration instance as a stream of events.
|
|
288
|
+
"""
|
|
289
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
290
|
+
context.set_details('Method not implemented!')
|
|
291
|
+
raise NotImplementedError('Method not implemented!')
|
|
292
|
+
|
|
211
293
|
def CreateTaskHub(self, request, context):
|
|
212
294
|
"""Deletes and Creates the necessary resources for the orchestration service and the instance store
|
|
213
295
|
"""
|
|
@@ -222,390 +304,897 @@ class TaskHubSidecarServiceServicer(object):
|
|
|
222
304
|
context.set_details('Method not implemented!')
|
|
223
305
|
raise NotImplementedError('Method not implemented!')
|
|
224
306
|
|
|
307
|
+
def SignalEntity(self, request, context):
|
|
308
|
+
"""sends a signal to an entity
|
|
309
|
+
"""
|
|
310
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
311
|
+
context.set_details('Method not implemented!')
|
|
312
|
+
raise NotImplementedError('Method not implemented!')
|
|
313
|
+
|
|
314
|
+
def GetEntity(self, request, context):
|
|
315
|
+
"""get information about a specific entity
|
|
316
|
+
"""
|
|
317
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
318
|
+
context.set_details('Method not implemented!')
|
|
319
|
+
raise NotImplementedError('Method not implemented!')
|
|
320
|
+
|
|
321
|
+
def QueryEntities(self, request, context):
|
|
322
|
+
"""query entities
|
|
323
|
+
"""
|
|
324
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
325
|
+
context.set_details('Method not implemented!')
|
|
326
|
+
raise NotImplementedError('Method not implemented!')
|
|
327
|
+
|
|
328
|
+
def CleanEntityStorage(self, request, context):
|
|
329
|
+
"""clean entity storage
|
|
330
|
+
"""
|
|
331
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
332
|
+
context.set_details('Method not implemented!')
|
|
333
|
+
raise NotImplementedError('Method not implemented!')
|
|
334
|
+
|
|
335
|
+
def AbandonTaskActivityWorkItem(self, request, context):
|
|
336
|
+
"""Abandons a single work item
|
|
337
|
+
"""
|
|
338
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
339
|
+
context.set_details('Method not implemented!')
|
|
340
|
+
raise NotImplementedError('Method not implemented!')
|
|
341
|
+
|
|
342
|
+
def AbandonTaskOrchestratorWorkItem(self, request, context):
|
|
343
|
+
"""Abandon an orchestration work item
|
|
344
|
+
"""
|
|
345
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
346
|
+
context.set_details('Method not implemented!')
|
|
347
|
+
raise NotImplementedError('Method not implemented!')
|
|
348
|
+
|
|
349
|
+
def AbandonTaskEntityWorkItem(self, request, context):
|
|
350
|
+
"""Abandon an entity work item
|
|
351
|
+
"""
|
|
352
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
353
|
+
context.set_details('Method not implemented!')
|
|
354
|
+
raise NotImplementedError('Method not implemented!')
|
|
355
|
+
|
|
225
356
|
|
|
226
357
|
def add_TaskHubSidecarServiceServicer_to_server(servicer, server):
|
|
227
358
|
rpc_method_handlers = {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
359
|
+
'Hello': grpc.unary_unary_rpc_method_handler(
|
|
360
|
+
servicer.Hello,
|
|
361
|
+
request_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
362
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
363
|
+
),
|
|
364
|
+
'StartInstance': grpc.unary_unary_rpc_method_handler(
|
|
365
|
+
servicer.StartInstance,
|
|
366
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CreateInstanceRequest.FromString,
|
|
367
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CreateInstanceResponse.SerializeToString,
|
|
368
|
+
),
|
|
369
|
+
'GetInstance': grpc.unary_unary_rpc_method_handler(
|
|
370
|
+
servicer.GetInstance,
|
|
371
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceRequest.FromString,
|
|
372
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceResponse.SerializeToString,
|
|
373
|
+
),
|
|
374
|
+
'RewindInstance': grpc.unary_unary_rpc_method_handler(
|
|
375
|
+
servicer.RewindInstance,
|
|
376
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.RewindInstanceRequest.FromString,
|
|
377
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.RewindInstanceResponse.SerializeToString,
|
|
378
|
+
),
|
|
379
|
+
'WaitForInstanceStart': grpc.unary_unary_rpc_method_handler(
|
|
380
|
+
servicer.WaitForInstanceStart,
|
|
381
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceRequest.FromString,
|
|
382
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceResponse.SerializeToString,
|
|
383
|
+
),
|
|
384
|
+
'WaitForInstanceCompletion': grpc.unary_unary_rpc_method_handler(
|
|
385
|
+
servicer.WaitForInstanceCompletion,
|
|
386
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceRequest.FromString,
|
|
387
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceResponse.SerializeToString,
|
|
388
|
+
),
|
|
389
|
+
'RaiseEvent': grpc.unary_unary_rpc_method_handler(
|
|
390
|
+
servicer.RaiseEvent,
|
|
391
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.RaiseEventRequest.FromString,
|
|
392
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.RaiseEventResponse.SerializeToString,
|
|
393
|
+
),
|
|
394
|
+
'TerminateInstance': grpc.unary_unary_rpc_method_handler(
|
|
395
|
+
servicer.TerminateInstance,
|
|
396
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.TerminateRequest.FromString,
|
|
397
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.TerminateResponse.SerializeToString,
|
|
398
|
+
),
|
|
399
|
+
'SuspendInstance': grpc.unary_unary_rpc_method_handler(
|
|
400
|
+
servicer.SuspendInstance,
|
|
401
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.SuspendRequest.FromString,
|
|
402
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.SuspendResponse.SerializeToString,
|
|
403
|
+
),
|
|
404
|
+
'ResumeInstance': grpc.unary_unary_rpc_method_handler(
|
|
405
|
+
servicer.ResumeInstance,
|
|
406
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.ResumeRequest.FromString,
|
|
407
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.ResumeResponse.SerializeToString,
|
|
408
|
+
),
|
|
409
|
+
'QueryInstances': grpc.unary_unary_rpc_method_handler(
|
|
410
|
+
servicer.QueryInstances,
|
|
411
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.QueryInstancesRequest.FromString,
|
|
412
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.QueryInstancesResponse.SerializeToString,
|
|
413
|
+
),
|
|
414
|
+
'PurgeInstances': grpc.unary_unary_rpc_method_handler(
|
|
415
|
+
servicer.PurgeInstances,
|
|
416
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.PurgeInstancesRequest.FromString,
|
|
417
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.PurgeInstancesResponse.SerializeToString,
|
|
418
|
+
),
|
|
419
|
+
'GetWorkItems': grpc.unary_stream_rpc_method_handler(
|
|
420
|
+
servicer.GetWorkItems,
|
|
421
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetWorkItemsRequest.FromString,
|
|
422
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.WorkItem.SerializeToString,
|
|
423
|
+
),
|
|
424
|
+
'CompleteActivityTask': grpc.unary_unary_rpc_method_handler(
|
|
425
|
+
servicer.CompleteActivityTask,
|
|
426
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.ActivityResponse.FromString,
|
|
427
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CompleteTaskResponse.SerializeToString,
|
|
428
|
+
),
|
|
429
|
+
'CompleteOrchestratorTask': grpc.unary_unary_rpc_method_handler(
|
|
430
|
+
servicer.CompleteOrchestratorTask,
|
|
431
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.OrchestratorResponse.FromString,
|
|
432
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CompleteTaskResponse.SerializeToString,
|
|
433
|
+
),
|
|
434
|
+
'CompleteEntityTask': grpc.unary_unary_rpc_method_handler(
|
|
435
|
+
servicer.CompleteEntityTask,
|
|
436
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.EntityBatchResult.FromString,
|
|
437
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CompleteTaskResponse.SerializeToString,
|
|
438
|
+
),
|
|
439
|
+
'StreamInstanceHistory': grpc.unary_stream_rpc_method_handler(
|
|
440
|
+
servicer.StreamInstanceHistory,
|
|
441
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.StreamInstanceHistoryRequest.FromString,
|
|
442
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.HistoryChunk.SerializeToString,
|
|
443
|
+
),
|
|
444
|
+
'CreateTaskHub': grpc.unary_unary_rpc_method_handler(
|
|
445
|
+
servicer.CreateTaskHub,
|
|
446
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CreateTaskHubRequest.FromString,
|
|
447
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CreateTaskHubResponse.SerializeToString,
|
|
448
|
+
),
|
|
449
|
+
'DeleteTaskHub': grpc.unary_unary_rpc_method_handler(
|
|
450
|
+
servicer.DeleteTaskHub,
|
|
451
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.DeleteTaskHubRequest.FromString,
|
|
452
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.DeleteTaskHubResponse.SerializeToString,
|
|
453
|
+
),
|
|
454
|
+
'SignalEntity': grpc.unary_unary_rpc_method_handler(
|
|
455
|
+
servicer.SignalEntity,
|
|
456
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.SignalEntityRequest.FromString,
|
|
457
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.SignalEntityResponse.SerializeToString,
|
|
458
|
+
),
|
|
459
|
+
'GetEntity': grpc.unary_unary_rpc_method_handler(
|
|
460
|
+
servicer.GetEntity,
|
|
461
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetEntityRequest.FromString,
|
|
462
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.GetEntityResponse.SerializeToString,
|
|
463
|
+
),
|
|
464
|
+
'QueryEntities': grpc.unary_unary_rpc_method_handler(
|
|
465
|
+
servicer.QueryEntities,
|
|
466
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.QueryEntitiesRequest.FromString,
|
|
467
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.QueryEntitiesResponse.SerializeToString,
|
|
468
|
+
),
|
|
469
|
+
'CleanEntityStorage': grpc.unary_unary_rpc_method_handler(
|
|
470
|
+
servicer.CleanEntityStorage,
|
|
471
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CleanEntityStorageRequest.FromString,
|
|
472
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.CleanEntityStorageResponse.SerializeToString,
|
|
473
|
+
),
|
|
474
|
+
'AbandonTaskActivityWorkItem': grpc.unary_unary_rpc_method_handler(
|
|
475
|
+
servicer.AbandonTaskActivityWorkItem,
|
|
476
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonActivityTaskRequest.FromString,
|
|
477
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonActivityTaskResponse.SerializeToString,
|
|
478
|
+
),
|
|
479
|
+
'AbandonTaskOrchestratorWorkItem': grpc.unary_unary_rpc_method_handler(
|
|
480
|
+
servicer.AbandonTaskOrchestratorWorkItem,
|
|
481
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonOrchestrationTaskRequest.FromString,
|
|
482
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonOrchestrationTaskResponse.SerializeToString,
|
|
483
|
+
),
|
|
484
|
+
'AbandonTaskEntityWorkItem': grpc.unary_unary_rpc_method_handler(
|
|
485
|
+
servicer.AbandonTaskEntityWorkItem,
|
|
486
|
+
request_deserializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonEntityTaskRequest.FromString,
|
|
487
|
+
response_serializer=durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonEntityTaskResponse.SerializeToString,
|
|
488
|
+
),
|
|
313
489
|
}
|
|
314
490
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
315
|
-
|
|
491
|
+
'TaskHubSidecarService', rpc_method_handlers)
|
|
316
492
|
server.add_generic_rpc_handlers((generic_handler,))
|
|
317
|
-
|
|
318
|
-
# This class is part of an EXPERIMENTAL API.
|
|
493
|
+
server.add_registered_method_handlers('TaskHubSidecarService', rpc_method_handlers)
|
|
319
494
|
|
|
320
495
|
|
|
496
|
+
# This class is part of an EXPERIMENTAL API.
|
|
321
497
|
class TaskHubSidecarService(object):
|
|
322
498
|
"""Missing associated documentation comment in .proto file."""
|
|
323
499
|
|
|
324
500
|
@staticmethod
|
|
325
501
|
def Hello(request,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
return grpc.experimental.unary_unary(
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
502
|
+
target,
|
|
503
|
+
options=(),
|
|
504
|
+
channel_credentials=None,
|
|
505
|
+
call_credentials=None,
|
|
506
|
+
insecure=False,
|
|
507
|
+
compression=None,
|
|
508
|
+
wait_for_ready=None,
|
|
509
|
+
timeout=None,
|
|
510
|
+
metadata=None):
|
|
511
|
+
return grpc.experimental.unary_unary(
|
|
512
|
+
request,
|
|
513
|
+
target,
|
|
514
|
+
'/TaskHubSidecarService/Hello',
|
|
515
|
+
google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
516
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
517
|
+
options,
|
|
518
|
+
channel_credentials,
|
|
519
|
+
insecure,
|
|
520
|
+
call_credentials,
|
|
521
|
+
compression,
|
|
522
|
+
wait_for_ready,
|
|
523
|
+
timeout,
|
|
524
|
+
metadata,
|
|
525
|
+
_registered_method=True)
|
|
340
526
|
|
|
341
527
|
@staticmethod
|
|
342
528
|
def StartInstance(request,
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
return grpc.experimental.unary_unary(
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
529
|
+
target,
|
|
530
|
+
options=(),
|
|
531
|
+
channel_credentials=None,
|
|
532
|
+
call_credentials=None,
|
|
533
|
+
insecure=False,
|
|
534
|
+
compression=None,
|
|
535
|
+
wait_for_ready=None,
|
|
536
|
+
timeout=None,
|
|
537
|
+
metadata=None):
|
|
538
|
+
return grpc.experimental.unary_unary(
|
|
539
|
+
request,
|
|
540
|
+
target,
|
|
541
|
+
'/TaskHubSidecarService/StartInstance',
|
|
542
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.CreateInstanceRequest.SerializeToString,
|
|
543
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.CreateInstanceResponse.FromString,
|
|
544
|
+
options,
|
|
545
|
+
channel_credentials,
|
|
546
|
+
insecure,
|
|
547
|
+
call_credentials,
|
|
548
|
+
compression,
|
|
549
|
+
wait_for_ready,
|
|
550
|
+
timeout,
|
|
551
|
+
metadata,
|
|
552
|
+
_registered_method=True)
|
|
357
553
|
|
|
358
554
|
@staticmethod
|
|
359
555
|
def GetInstance(request,
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
return grpc.experimental.unary_unary(
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
556
|
+
target,
|
|
557
|
+
options=(),
|
|
558
|
+
channel_credentials=None,
|
|
559
|
+
call_credentials=None,
|
|
560
|
+
insecure=False,
|
|
561
|
+
compression=None,
|
|
562
|
+
wait_for_ready=None,
|
|
563
|
+
timeout=None,
|
|
564
|
+
metadata=None):
|
|
565
|
+
return grpc.experimental.unary_unary(
|
|
566
|
+
request,
|
|
567
|
+
target,
|
|
568
|
+
'/TaskHubSidecarService/GetInstance',
|
|
569
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceRequest.SerializeToString,
|
|
570
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceResponse.FromString,
|
|
571
|
+
options,
|
|
572
|
+
channel_credentials,
|
|
573
|
+
insecure,
|
|
574
|
+
call_credentials,
|
|
575
|
+
compression,
|
|
576
|
+
wait_for_ready,
|
|
577
|
+
timeout,
|
|
578
|
+
metadata,
|
|
579
|
+
_registered_method=True)
|
|
374
580
|
|
|
375
581
|
@staticmethod
|
|
376
582
|
def RewindInstance(request,
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
return grpc.experimental.unary_unary(
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
583
|
+
target,
|
|
584
|
+
options=(),
|
|
585
|
+
channel_credentials=None,
|
|
586
|
+
call_credentials=None,
|
|
587
|
+
insecure=False,
|
|
588
|
+
compression=None,
|
|
589
|
+
wait_for_ready=None,
|
|
590
|
+
timeout=None,
|
|
591
|
+
metadata=None):
|
|
592
|
+
return grpc.experimental.unary_unary(
|
|
593
|
+
request,
|
|
594
|
+
target,
|
|
595
|
+
'/TaskHubSidecarService/RewindInstance',
|
|
596
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.RewindInstanceRequest.SerializeToString,
|
|
597
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.RewindInstanceResponse.FromString,
|
|
598
|
+
options,
|
|
599
|
+
channel_credentials,
|
|
600
|
+
insecure,
|
|
601
|
+
call_credentials,
|
|
602
|
+
compression,
|
|
603
|
+
wait_for_ready,
|
|
604
|
+
timeout,
|
|
605
|
+
metadata,
|
|
606
|
+
_registered_method=True)
|
|
391
607
|
|
|
392
608
|
@staticmethod
|
|
393
609
|
def WaitForInstanceStart(request,
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
return grpc.experimental.unary_unary(
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
610
|
+
target,
|
|
611
|
+
options=(),
|
|
612
|
+
channel_credentials=None,
|
|
613
|
+
call_credentials=None,
|
|
614
|
+
insecure=False,
|
|
615
|
+
compression=None,
|
|
616
|
+
wait_for_ready=None,
|
|
617
|
+
timeout=None,
|
|
618
|
+
metadata=None):
|
|
619
|
+
return grpc.experimental.unary_unary(
|
|
620
|
+
request,
|
|
621
|
+
target,
|
|
622
|
+
'/TaskHubSidecarService/WaitForInstanceStart',
|
|
623
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceRequest.SerializeToString,
|
|
624
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceResponse.FromString,
|
|
625
|
+
options,
|
|
626
|
+
channel_credentials,
|
|
627
|
+
insecure,
|
|
628
|
+
call_credentials,
|
|
629
|
+
compression,
|
|
630
|
+
wait_for_ready,
|
|
631
|
+
timeout,
|
|
632
|
+
metadata,
|
|
633
|
+
_registered_method=True)
|
|
408
634
|
|
|
409
635
|
@staticmethod
|
|
410
636
|
def WaitForInstanceCompletion(request,
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
return grpc.experimental.unary_unary(
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
637
|
+
target,
|
|
638
|
+
options=(),
|
|
639
|
+
channel_credentials=None,
|
|
640
|
+
call_credentials=None,
|
|
641
|
+
insecure=False,
|
|
642
|
+
compression=None,
|
|
643
|
+
wait_for_ready=None,
|
|
644
|
+
timeout=None,
|
|
645
|
+
metadata=None):
|
|
646
|
+
return grpc.experimental.unary_unary(
|
|
647
|
+
request,
|
|
648
|
+
target,
|
|
649
|
+
'/TaskHubSidecarService/WaitForInstanceCompletion',
|
|
650
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceRequest.SerializeToString,
|
|
651
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.GetInstanceResponse.FromString,
|
|
652
|
+
options,
|
|
653
|
+
channel_credentials,
|
|
654
|
+
insecure,
|
|
655
|
+
call_credentials,
|
|
656
|
+
compression,
|
|
657
|
+
wait_for_ready,
|
|
658
|
+
timeout,
|
|
659
|
+
metadata,
|
|
660
|
+
_registered_method=True)
|
|
425
661
|
|
|
426
662
|
@staticmethod
|
|
427
663
|
def RaiseEvent(request,
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
return grpc.experimental.unary_unary(
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
664
|
+
target,
|
|
665
|
+
options=(),
|
|
666
|
+
channel_credentials=None,
|
|
667
|
+
call_credentials=None,
|
|
668
|
+
insecure=False,
|
|
669
|
+
compression=None,
|
|
670
|
+
wait_for_ready=None,
|
|
671
|
+
timeout=None,
|
|
672
|
+
metadata=None):
|
|
673
|
+
return grpc.experimental.unary_unary(
|
|
674
|
+
request,
|
|
675
|
+
target,
|
|
676
|
+
'/TaskHubSidecarService/RaiseEvent',
|
|
677
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.RaiseEventRequest.SerializeToString,
|
|
678
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.RaiseEventResponse.FromString,
|
|
679
|
+
options,
|
|
680
|
+
channel_credentials,
|
|
681
|
+
insecure,
|
|
682
|
+
call_credentials,
|
|
683
|
+
compression,
|
|
684
|
+
wait_for_ready,
|
|
685
|
+
timeout,
|
|
686
|
+
metadata,
|
|
687
|
+
_registered_method=True)
|
|
442
688
|
|
|
443
689
|
@staticmethod
|
|
444
690
|
def TerminateInstance(request,
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
return grpc.experimental.unary_unary(
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
691
|
+
target,
|
|
692
|
+
options=(),
|
|
693
|
+
channel_credentials=None,
|
|
694
|
+
call_credentials=None,
|
|
695
|
+
insecure=False,
|
|
696
|
+
compression=None,
|
|
697
|
+
wait_for_ready=None,
|
|
698
|
+
timeout=None,
|
|
699
|
+
metadata=None):
|
|
700
|
+
return grpc.experimental.unary_unary(
|
|
701
|
+
request,
|
|
702
|
+
target,
|
|
703
|
+
'/TaskHubSidecarService/TerminateInstance',
|
|
704
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.TerminateRequest.SerializeToString,
|
|
705
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.TerminateResponse.FromString,
|
|
706
|
+
options,
|
|
707
|
+
channel_credentials,
|
|
708
|
+
insecure,
|
|
709
|
+
call_credentials,
|
|
710
|
+
compression,
|
|
711
|
+
wait_for_ready,
|
|
712
|
+
timeout,
|
|
713
|
+
metadata,
|
|
714
|
+
_registered_method=True)
|
|
459
715
|
|
|
460
716
|
@staticmethod
|
|
461
717
|
def SuspendInstance(request,
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
return grpc.experimental.unary_unary(
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
718
|
+
target,
|
|
719
|
+
options=(),
|
|
720
|
+
channel_credentials=None,
|
|
721
|
+
call_credentials=None,
|
|
722
|
+
insecure=False,
|
|
723
|
+
compression=None,
|
|
724
|
+
wait_for_ready=None,
|
|
725
|
+
timeout=None,
|
|
726
|
+
metadata=None):
|
|
727
|
+
return grpc.experimental.unary_unary(
|
|
728
|
+
request,
|
|
729
|
+
target,
|
|
730
|
+
'/TaskHubSidecarService/SuspendInstance',
|
|
731
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.SuspendRequest.SerializeToString,
|
|
732
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.SuspendResponse.FromString,
|
|
733
|
+
options,
|
|
734
|
+
channel_credentials,
|
|
735
|
+
insecure,
|
|
736
|
+
call_credentials,
|
|
737
|
+
compression,
|
|
738
|
+
wait_for_ready,
|
|
739
|
+
timeout,
|
|
740
|
+
metadata,
|
|
741
|
+
_registered_method=True)
|
|
476
742
|
|
|
477
743
|
@staticmethod
|
|
478
744
|
def ResumeInstance(request,
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
return grpc.experimental.unary_unary(
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
745
|
+
target,
|
|
746
|
+
options=(),
|
|
747
|
+
channel_credentials=None,
|
|
748
|
+
call_credentials=None,
|
|
749
|
+
insecure=False,
|
|
750
|
+
compression=None,
|
|
751
|
+
wait_for_ready=None,
|
|
752
|
+
timeout=None,
|
|
753
|
+
metadata=None):
|
|
754
|
+
return grpc.experimental.unary_unary(
|
|
755
|
+
request,
|
|
756
|
+
target,
|
|
757
|
+
'/TaskHubSidecarService/ResumeInstance',
|
|
758
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.ResumeRequest.SerializeToString,
|
|
759
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.ResumeResponse.FromString,
|
|
760
|
+
options,
|
|
761
|
+
channel_credentials,
|
|
762
|
+
insecure,
|
|
763
|
+
call_credentials,
|
|
764
|
+
compression,
|
|
765
|
+
wait_for_ready,
|
|
766
|
+
timeout,
|
|
767
|
+
metadata,
|
|
768
|
+
_registered_method=True)
|
|
493
769
|
|
|
494
770
|
@staticmethod
|
|
495
771
|
def QueryInstances(request,
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
return grpc.experimental.unary_unary(
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
772
|
+
target,
|
|
773
|
+
options=(),
|
|
774
|
+
channel_credentials=None,
|
|
775
|
+
call_credentials=None,
|
|
776
|
+
insecure=False,
|
|
777
|
+
compression=None,
|
|
778
|
+
wait_for_ready=None,
|
|
779
|
+
timeout=None,
|
|
780
|
+
metadata=None):
|
|
781
|
+
return grpc.experimental.unary_unary(
|
|
782
|
+
request,
|
|
783
|
+
target,
|
|
784
|
+
'/TaskHubSidecarService/QueryInstances',
|
|
785
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.QueryInstancesRequest.SerializeToString,
|
|
786
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.QueryInstancesResponse.FromString,
|
|
787
|
+
options,
|
|
788
|
+
channel_credentials,
|
|
789
|
+
insecure,
|
|
790
|
+
call_credentials,
|
|
791
|
+
compression,
|
|
792
|
+
wait_for_ready,
|
|
793
|
+
timeout,
|
|
794
|
+
metadata,
|
|
795
|
+
_registered_method=True)
|
|
510
796
|
|
|
511
797
|
@staticmethod
|
|
512
798
|
def PurgeInstances(request,
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
return grpc.experimental.unary_unary(
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
799
|
+
target,
|
|
800
|
+
options=(),
|
|
801
|
+
channel_credentials=None,
|
|
802
|
+
call_credentials=None,
|
|
803
|
+
insecure=False,
|
|
804
|
+
compression=None,
|
|
805
|
+
wait_for_ready=None,
|
|
806
|
+
timeout=None,
|
|
807
|
+
metadata=None):
|
|
808
|
+
return grpc.experimental.unary_unary(
|
|
809
|
+
request,
|
|
810
|
+
target,
|
|
811
|
+
'/TaskHubSidecarService/PurgeInstances',
|
|
812
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.PurgeInstancesRequest.SerializeToString,
|
|
813
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.PurgeInstancesResponse.FromString,
|
|
814
|
+
options,
|
|
815
|
+
channel_credentials,
|
|
816
|
+
insecure,
|
|
817
|
+
call_credentials,
|
|
818
|
+
compression,
|
|
819
|
+
wait_for_ready,
|
|
820
|
+
timeout,
|
|
821
|
+
metadata,
|
|
822
|
+
_registered_method=True)
|
|
527
823
|
|
|
528
824
|
@staticmethod
|
|
529
825
|
def GetWorkItems(request,
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
return grpc.experimental.unary_stream(
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
826
|
+
target,
|
|
827
|
+
options=(),
|
|
828
|
+
channel_credentials=None,
|
|
829
|
+
call_credentials=None,
|
|
830
|
+
insecure=False,
|
|
831
|
+
compression=None,
|
|
832
|
+
wait_for_ready=None,
|
|
833
|
+
timeout=None,
|
|
834
|
+
metadata=None):
|
|
835
|
+
return grpc.experimental.unary_stream(
|
|
836
|
+
request,
|
|
837
|
+
target,
|
|
838
|
+
'/TaskHubSidecarService/GetWorkItems',
|
|
839
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.GetWorkItemsRequest.SerializeToString,
|
|
840
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.WorkItem.FromString,
|
|
841
|
+
options,
|
|
842
|
+
channel_credentials,
|
|
843
|
+
insecure,
|
|
844
|
+
call_credentials,
|
|
845
|
+
compression,
|
|
846
|
+
wait_for_ready,
|
|
847
|
+
timeout,
|
|
848
|
+
metadata,
|
|
849
|
+
_registered_method=True)
|
|
544
850
|
|
|
545
851
|
@staticmethod
|
|
546
852
|
def CompleteActivityTask(request,
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
return grpc.experimental.unary_unary(
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
853
|
+
target,
|
|
854
|
+
options=(),
|
|
855
|
+
channel_credentials=None,
|
|
856
|
+
call_credentials=None,
|
|
857
|
+
insecure=False,
|
|
858
|
+
compression=None,
|
|
859
|
+
wait_for_ready=None,
|
|
860
|
+
timeout=None,
|
|
861
|
+
metadata=None):
|
|
862
|
+
return grpc.experimental.unary_unary(
|
|
863
|
+
request,
|
|
864
|
+
target,
|
|
865
|
+
'/TaskHubSidecarService/CompleteActivityTask',
|
|
866
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.ActivityResponse.SerializeToString,
|
|
867
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.CompleteTaskResponse.FromString,
|
|
868
|
+
options,
|
|
869
|
+
channel_credentials,
|
|
870
|
+
insecure,
|
|
871
|
+
call_credentials,
|
|
872
|
+
compression,
|
|
873
|
+
wait_for_ready,
|
|
874
|
+
timeout,
|
|
875
|
+
metadata,
|
|
876
|
+
_registered_method=True)
|
|
561
877
|
|
|
562
878
|
@staticmethod
|
|
563
879
|
def CompleteOrchestratorTask(request,
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
return grpc.experimental.unary_unary(
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
880
|
+
target,
|
|
881
|
+
options=(),
|
|
882
|
+
channel_credentials=None,
|
|
883
|
+
call_credentials=None,
|
|
884
|
+
insecure=False,
|
|
885
|
+
compression=None,
|
|
886
|
+
wait_for_ready=None,
|
|
887
|
+
timeout=None,
|
|
888
|
+
metadata=None):
|
|
889
|
+
return grpc.experimental.unary_unary(
|
|
890
|
+
request,
|
|
891
|
+
target,
|
|
892
|
+
'/TaskHubSidecarService/CompleteOrchestratorTask',
|
|
893
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.OrchestratorResponse.SerializeToString,
|
|
894
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.CompleteTaskResponse.FromString,
|
|
895
|
+
options,
|
|
896
|
+
channel_credentials,
|
|
897
|
+
insecure,
|
|
898
|
+
call_credentials,
|
|
899
|
+
compression,
|
|
900
|
+
wait_for_ready,
|
|
901
|
+
timeout,
|
|
902
|
+
metadata,
|
|
903
|
+
_registered_method=True)
|
|
904
|
+
|
|
905
|
+
@staticmethod
|
|
906
|
+
def CompleteEntityTask(request,
|
|
907
|
+
target,
|
|
908
|
+
options=(),
|
|
909
|
+
channel_credentials=None,
|
|
910
|
+
call_credentials=None,
|
|
911
|
+
insecure=False,
|
|
912
|
+
compression=None,
|
|
913
|
+
wait_for_ready=None,
|
|
914
|
+
timeout=None,
|
|
915
|
+
metadata=None):
|
|
916
|
+
return grpc.experimental.unary_unary(
|
|
917
|
+
request,
|
|
918
|
+
target,
|
|
919
|
+
'/TaskHubSidecarService/CompleteEntityTask',
|
|
920
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.EntityBatchResult.SerializeToString,
|
|
921
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.CompleteTaskResponse.FromString,
|
|
922
|
+
options,
|
|
923
|
+
channel_credentials,
|
|
924
|
+
insecure,
|
|
925
|
+
call_credentials,
|
|
926
|
+
compression,
|
|
927
|
+
wait_for_ready,
|
|
928
|
+
timeout,
|
|
929
|
+
metadata,
|
|
930
|
+
_registered_method=True)
|
|
931
|
+
|
|
932
|
+
@staticmethod
|
|
933
|
+
def StreamInstanceHistory(request,
|
|
934
|
+
target,
|
|
935
|
+
options=(),
|
|
936
|
+
channel_credentials=None,
|
|
937
|
+
call_credentials=None,
|
|
938
|
+
insecure=False,
|
|
939
|
+
compression=None,
|
|
940
|
+
wait_for_ready=None,
|
|
941
|
+
timeout=None,
|
|
942
|
+
metadata=None):
|
|
943
|
+
return grpc.experimental.unary_stream(
|
|
944
|
+
request,
|
|
945
|
+
target,
|
|
946
|
+
'/TaskHubSidecarService/StreamInstanceHistory',
|
|
947
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.StreamInstanceHistoryRequest.SerializeToString,
|
|
948
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.HistoryChunk.FromString,
|
|
949
|
+
options,
|
|
950
|
+
channel_credentials,
|
|
951
|
+
insecure,
|
|
952
|
+
call_credentials,
|
|
953
|
+
compression,
|
|
954
|
+
wait_for_ready,
|
|
955
|
+
timeout,
|
|
956
|
+
metadata,
|
|
957
|
+
_registered_method=True)
|
|
578
958
|
|
|
579
959
|
@staticmethod
|
|
580
960
|
def CreateTaskHub(request,
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
return grpc.experimental.unary_unary(
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
961
|
+
target,
|
|
962
|
+
options=(),
|
|
963
|
+
channel_credentials=None,
|
|
964
|
+
call_credentials=None,
|
|
965
|
+
insecure=False,
|
|
966
|
+
compression=None,
|
|
967
|
+
wait_for_ready=None,
|
|
968
|
+
timeout=None,
|
|
969
|
+
metadata=None):
|
|
970
|
+
return grpc.experimental.unary_unary(
|
|
971
|
+
request,
|
|
972
|
+
target,
|
|
973
|
+
'/TaskHubSidecarService/CreateTaskHub',
|
|
974
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.CreateTaskHubRequest.SerializeToString,
|
|
975
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.CreateTaskHubResponse.FromString,
|
|
976
|
+
options,
|
|
977
|
+
channel_credentials,
|
|
978
|
+
insecure,
|
|
979
|
+
call_credentials,
|
|
980
|
+
compression,
|
|
981
|
+
wait_for_ready,
|
|
982
|
+
timeout,
|
|
983
|
+
metadata,
|
|
984
|
+
_registered_method=True)
|
|
595
985
|
|
|
596
986
|
@staticmethod
|
|
597
987
|
def DeleteTaskHub(request,
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
return grpc.experimental.unary_unary(
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
988
|
+
target,
|
|
989
|
+
options=(),
|
|
990
|
+
channel_credentials=None,
|
|
991
|
+
call_credentials=None,
|
|
992
|
+
insecure=False,
|
|
993
|
+
compression=None,
|
|
994
|
+
wait_for_ready=None,
|
|
995
|
+
timeout=None,
|
|
996
|
+
metadata=None):
|
|
997
|
+
return grpc.experimental.unary_unary(
|
|
998
|
+
request,
|
|
999
|
+
target,
|
|
1000
|
+
'/TaskHubSidecarService/DeleteTaskHub',
|
|
1001
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.DeleteTaskHubRequest.SerializeToString,
|
|
1002
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.DeleteTaskHubResponse.FromString,
|
|
1003
|
+
options,
|
|
1004
|
+
channel_credentials,
|
|
1005
|
+
insecure,
|
|
1006
|
+
call_credentials,
|
|
1007
|
+
compression,
|
|
1008
|
+
wait_for_ready,
|
|
1009
|
+
timeout,
|
|
1010
|
+
metadata,
|
|
1011
|
+
_registered_method=True)
|
|
1012
|
+
|
|
1013
|
+
@staticmethod
|
|
1014
|
+
def SignalEntity(request,
|
|
1015
|
+
target,
|
|
1016
|
+
options=(),
|
|
1017
|
+
channel_credentials=None,
|
|
1018
|
+
call_credentials=None,
|
|
1019
|
+
insecure=False,
|
|
1020
|
+
compression=None,
|
|
1021
|
+
wait_for_ready=None,
|
|
1022
|
+
timeout=None,
|
|
1023
|
+
metadata=None):
|
|
1024
|
+
return grpc.experimental.unary_unary(
|
|
1025
|
+
request,
|
|
1026
|
+
target,
|
|
1027
|
+
'/TaskHubSidecarService/SignalEntity',
|
|
1028
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.SignalEntityRequest.SerializeToString,
|
|
1029
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.SignalEntityResponse.FromString,
|
|
1030
|
+
options,
|
|
1031
|
+
channel_credentials,
|
|
1032
|
+
insecure,
|
|
1033
|
+
call_credentials,
|
|
1034
|
+
compression,
|
|
1035
|
+
wait_for_ready,
|
|
1036
|
+
timeout,
|
|
1037
|
+
metadata,
|
|
1038
|
+
_registered_method=True)
|
|
1039
|
+
|
|
1040
|
+
@staticmethod
|
|
1041
|
+
def GetEntity(request,
|
|
1042
|
+
target,
|
|
1043
|
+
options=(),
|
|
1044
|
+
channel_credentials=None,
|
|
1045
|
+
call_credentials=None,
|
|
1046
|
+
insecure=False,
|
|
1047
|
+
compression=None,
|
|
1048
|
+
wait_for_ready=None,
|
|
1049
|
+
timeout=None,
|
|
1050
|
+
metadata=None):
|
|
1051
|
+
return grpc.experimental.unary_unary(
|
|
1052
|
+
request,
|
|
1053
|
+
target,
|
|
1054
|
+
'/TaskHubSidecarService/GetEntity',
|
|
1055
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.GetEntityRequest.SerializeToString,
|
|
1056
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.GetEntityResponse.FromString,
|
|
1057
|
+
options,
|
|
1058
|
+
channel_credentials,
|
|
1059
|
+
insecure,
|
|
1060
|
+
call_credentials,
|
|
1061
|
+
compression,
|
|
1062
|
+
wait_for_ready,
|
|
1063
|
+
timeout,
|
|
1064
|
+
metadata,
|
|
1065
|
+
_registered_method=True)
|
|
1066
|
+
|
|
1067
|
+
@staticmethod
|
|
1068
|
+
def QueryEntities(request,
|
|
1069
|
+
target,
|
|
1070
|
+
options=(),
|
|
1071
|
+
channel_credentials=None,
|
|
1072
|
+
call_credentials=None,
|
|
1073
|
+
insecure=False,
|
|
1074
|
+
compression=None,
|
|
1075
|
+
wait_for_ready=None,
|
|
1076
|
+
timeout=None,
|
|
1077
|
+
metadata=None):
|
|
1078
|
+
return grpc.experimental.unary_unary(
|
|
1079
|
+
request,
|
|
1080
|
+
target,
|
|
1081
|
+
'/TaskHubSidecarService/QueryEntities',
|
|
1082
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.QueryEntitiesRequest.SerializeToString,
|
|
1083
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.QueryEntitiesResponse.FromString,
|
|
1084
|
+
options,
|
|
1085
|
+
channel_credentials,
|
|
1086
|
+
insecure,
|
|
1087
|
+
call_credentials,
|
|
1088
|
+
compression,
|
|
1089
|
+
wait_for_ready,
|
|
1090
|
+
timeout,
|
|
1091
|
+
metadata,
|
|
1092
|
+
_registered_method=True)
|
|
1093
|
+
|
|
1094
|
+
@staticmethod
|
|
1095
|
+
def CleanEntityStorage(request,
|
|
1096
|
+
target,
|
|
1097
|
+
options=(),
|
|
1098
|
+
channel_credentials=None,
|
|
1099
|
+
call_credentials=None,
|
|
1100
|
+
insecure=False,
|
|
1101
|
+
compression=None,
|
|
1102
|
+
wait_for_ready=None,
|
|
1103
|
+
timeout=None,
|
|
1104
|
+
metadata=None):
|
|
1105
|
+
return grpc.experimental.unary_unary(
|
|
1106
|
+
request,
|
|
1107
|
+
target,
|
|
1108
|
+
'/TaskHubSidecarService/CleanEntityStorage',
|
|
1109
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.CleanEntityStorageRequest.SerializeToString,
|
|
1110
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.CleanEntityStorageResponse.FromString,
|
|
1111
|
+
options,
|
|
1112
|
+
channel_credentials,
|
|
1113
|
+
insecure,
|
|
1114
|
+
call_credentials,
|
|
1115
|
+
compression,
|
|
1116
|
+
wait_for_ready,
|
|
1117
|
+
timeout,
|
|
1118
|
+
metadata,
|
|
1119
|
+
_registered_method=True)
|
|
1120
|
+
|
|
1121
|
+
@staticmethod
|
|
1122
|
+
def AbandonTaskActivityWorkItem(request,
|
|
1123
|
+
target,
|
|
1124
|
+
options=(),
|
|
1125
|
+
channel_credentials=None,
|
|
1126
|
+
call_credentials=None,
|
|
1127
|
+
insecure=False,
|
|
1128
|
+
compression=None,
|
|
1129
|
+
wait_for_ready=None,
|
|
1130
|
+
timeout=None,
|
|
1131
|
+
metadata=None):
|
|
1132
|
+
return grpc.experimental.unary_unary(
|
|
1133
|
+
request,
|
|
1134
|
+
target,
|
|
1135
|
+
'/TaskHubSidecarService/AbandonTaskActivityWorkItem',
|
|
1136
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonActivityTaskRequest.SerializeToString,
|
|
1137
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonActivityTaskResponse.FromString,
|
|
1138
|
+
options,
|
|
1139
|
+
channel_credentials,
|
|
1140
|
+
insecure,
|
|
1141
|
+
call_credentials,
|
|
1142
|
+
compression,
|
|
1143
|
+
wait_for_ready,
|
|
1144
|
+
timeout,
|
|
1145
|
+
metadata,
|
|
1146
|
+
_registered_method=True)
|
|
1147
|
+
|
|
1148
|
+
@staticmethod
|
|
1149
|
+
def AbandonTaskOrchestratorWorkItem(request,
|
|
1150
|
+
target,
|
|
1151
|
+
options=(),
|
|
1152
|
+
channel_credentials=None,
|
|
1153
|
+
call_credentials=None,
|
|
1154
|
+
insecure=False,
|
|
1155
|
+
compression=None,
|
|
1156
|
+
wait_for_ready=None,
|
|
1157
|
+
timeout=None,
|
|
1158
|
+
metadata=None):
|
|
1159
|
+
return grpc.experimental.unary_unary(
|
|
1160
|
+
request,
|
|
1161
|
+
target,
|
|
1162
|
+
'/TaskHubSidecarService/AbandonTaskOrchestratorWorkItem',
|
|
1163
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonOrchestrationTaskRequest.SerializeToString,
|
|
1164
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonOrchestrationTaskResponse.FromString,
|
|
1165
|
+
options,
|
|
1166
|
+
channel_credentials,
|
|
1167
|
+
insecure,
|
|
1168
|
+
call_credentials,
|
|
1169
|
+
compression,
|
|
1170
|
+
wait_for_ready,
|
|
1171
|
+
timeout,
|
|
1172
|
+
metadata,
|
|
1173
|
+
_registered_method=True)
|
|
1174
|
+
|
|
1175
|
+
@staticmethod
|
|
1176
|
+
def AbandonTaskEntityWorkItem(request,
|
|
1177
|
+
target,
|
|
1178
|
+
options=(),
|
|
1179
|
+
channel_credentials=None,
|
|
1180
|
+
call_credentials=None,
|
|
1181
|
+
insecure=False,
|
|
1182
|
+
compression=None,
|
|
1183
|
+
wait_for_ready=None,
|
|
1184
|
+
timeout=None,
|
|
1185
|
+
metadata=None):
|
|
1186
|
+
return grpc.experimental.unary_unary(
|
|
1187
|
+
request,
|
|
1188
|
+
target,
|
|
1189
|
+
'/TaskHubSidecarService/AbandonTaskEntityWorkItem',
|
|
1190
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonEntityTaskRequest.SerializeToString,
|
|
1191
|
+
durabletask_dot_internal_dot_orchestrator__service__pb2.AbandonEntityTaskResponse.FromString,
|
|
1192
|
+
options,
|
|
1193
|
+
channel_credentials,
|
|
1194
|
+
insecure,
|
|
1195
|
+
call_credentials,
|
|
1196
|
+
compression,
|
|
1197
|
+
wait_for_ready,
|
|
1198
|
+
timeout,
|
|
1199
|
+
metadata,
|
|
1200
|
+
_registered_method=True)
|