langgraph-executor 0.0.1a0__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.
- langgraph_executor/__init__.py +1 -0
- langgraph_executor/common.py +395 -0
- langgraph_executor/example.py +29 -0
- langgraph_executor/execute_task.py +239 -0
- langgraph_executor/executor.py +341 -0
- langgraph_executor/extract_graph.py +178 -0
- langgraph_executor/info_logger.py +111 -0
- langgraph_executor/pb/__init__.py +0 -0
- langgraph_executor/pb/executor_pb2.py +79 -0
- langgraph_executor/pb/executor_pb2.pyi +415 -0
- langgraph_executor/pb/executor_pb2_grpc.py +321 -0
- langgraph_executor/pb/executor_pb2_grpc.pyi +150 -0
- langgraph_executor/pb/graph_pb2.py +55 -0
- langgraph_executor/pb/graph_pb2.pyi +230 -0
- langgraph_executor/pb/graph_pb2_grpc.py +24 -0
- langgraph_executor/pb/graph_pb2_grpc.pyi +17 -0
- langgraph_executor/pb/runtime_pb2.py +68 -0
- langgraph_executor/pb/runtime_pb2.pyi +364 -0
- langgraph_executor/pb/runtime_pb2_grpc.py +322 -0
- langgraph_executor/pb/runtime_pb2_grpc.pyi +151 -0
- langgraph_executor/pb/types_pb2.py +144 -0
- langgraph_executor/pb/types_pb2.pyi +1044 -0
- langgraph_executor/pb/types_pb2_grpc.py +24 -0
- langgraph_executor/pb/types_pb2_grpc.pyi +17 -0
- langgraph_executor/py.typed +0 -0
- langgraph_executor/server.py +186 -0
- langgraph_executor/setup.sh +29 -0
- langgraph_executor/stream_utils.py +96 -0
- langgraph_executor-0.0.1a0.dist-info/METADATA +14 -0
- langgraph_executor-0.0.1a0.dist-info/RECORD +31 -0
- langgraph_executor-0.0.1a0.dist-info/WHEEL +4 -0
@@ -0,0 +1,1044 @@
|
|
1
|
+
"""
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
3
|
+
isort:skip_file
|
4
|
+
"""
|
5
|
+
|
6
|
+
import builtins
|
7
|
+
import collections.abc
|
8
|
+
import google.protobuf.descriptor
|
9
|
+
import google.protobuf.internal.containers
|
10
|
+
import google.protobuf.message
|
11
|
+
import google.protobuf.struct_pb2
|
12
|
+
import typing
|
13
|
+
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
15
|
+
|
16
|
+
@typing.final
|
17
|
+
class Value(google.protobuf.message.Message):
|
18
|
+
"""Value"""
|
19
|
+
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
21
|
+
|
22
|
+
SERIALIZED_VALUE_FIELD_NUMBER: builtins.int
|
23
|
+
BASE_VALUE_FIELD_NUMBER: builtins.int
|
24
|
+
SENDS_FIELD_NUMBER: builtins.int
|
25
|
+
MISSING_FIELD_NUMBER: builtins.int
|
26
|
+
COMMAND_FIELD_NUMBER: builtins.int
|
27
|
+
ERROR_FIELD_NUMBER: builtins.int
|
28
|
+
MESSAGE_IDS_FIELD_NUMBER: builtins.int
|
29
|
+
@property
|
30
|
+
def serialized_value(self) -> global___SerializedValue: ...
|
31
|
+
@property
|
32
|
+
def base_value(self) -> global___SerializedValue: ...
|
33
|
+
@property
|
34
|
+
def sends(self) -> global___Sends: ...
|
35
|
+
@property
|
36
|
+
def missing(self) -> global___Missing: ...
|
37
|
+
@property
|
38
|
+
def command(self) -> global___Command: ...
|
39
|
+
@property
|
40
|
+
def error(self) -> global___ExecutorError: ...
|
41
|
+
@property
|
42
|
+
def message_ids(self) -> global___MessageIds: ...
|
43
|
+
def __init__(
|
44
|
+
self,
|
45
|
+
*,
|
46
|
+
serialized_value: global___SerializedValue | None = ...,
|
47
|
+
base_value: global___SerializedValue | None = ...,
|
48
|
+
sends: global___Sends | None = ...,
|
49
|
+
missing: global___Missing | None = ...,
|
50
|
+
command: global___Command | None = ...,
|
51
|
+
error: global___ExecutorError | None = ...,
|
52
|
+
message_ids: global___MessageIds | None = ...,
|
53
|
+
) -> None: ...
|
54
|
+
def HasField(self, field_name: typing.Literal["base_value", b"base_value", "command", b"command", "error", b"error", "message", b"message", "message_ids", b"message_ids", "missing", b"missing", "sends", b"sends", "serialized_value", b"serialized_value"]) -> builtins.bool: ...
|
55
|
+
def ClearField(self, field_name: typing.Literal["base_value", b"base_value", "command", b"command", "error", b"error", "message", b"message", "message_ids", b"message_ids", "missing", b"missing", "sends", b"sends", "serialized_value", b"serialized_value"]) -> None: ...
|
56
|
+
def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["base_value", "sends", "missing", "command", "error", "message_ids"] | None: ...
|
57
|
+
|
58
|
+
global___Value = Value
|
59
|
+
|
60
|
+
@typing.final
|
61
|
+
class Missing(google.protobuf.message.Message):
|
62
|
+
"""Missing"""
|
63
|
+
|
64
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
65
|
+
|
66
|
+
def __init__(
|
67
|
+
self,
|
68
|
+
) -> None: ...
|
69
|
+
|
70
|
+
global___Missing = Missing
|
71
|
+
|
72
|
+
@typing.final
|
73
|
+
class SerializedValue(google.protobuf.message.Message):
|
74
|
+
"""SerializedValue"""
|
75
|
+
|
76
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
77
|
+
|
78
|
+
METHOD_FIELD_NUMBER: builtins.int
|
79
|
+
VALUE_FIELD_NUMBER: builtins.int
|
80
|
+
method: builtins.str
|
81
|
+
value: builtins.bytes
|
82
|
+
def __init__(
|
83
|
+
self,
|
84
|
+
*,
|
85
|
+
method: builtins.str = ...,
|
86
|
+
value: builtins.bytes = ...,
|
87
|
+
) -> None: ...
|
88
|
+
def ClearField(self, field_name: typing.Literal["method", b"method", "value", b"value"]) -> None: ...
|
89
|
+
|
90
|
+
global___SerializedValue = SerializedValue
|
91
|
+
|
92
|
+
@typing.final
|
93
|
+
class MessageIds(google.protobuf.message.Message):
|
94
|
+
"""MessageIds"""
|
95
|
+
|
96
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
97
|
+
|
98
|
+
MESSAGE_IDS_FIELD_NUMBER: builtins.int
|
99
|
+
@property
|
100
|
+
def message_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
101
|
+
def __init__(
|
102
|
+
self,
|
103
|
+
*,
|
104
|
+
message_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
105
|
+
) -> None: ...
|
106
|
+
def ClearField(self, field_name: typing.Literal["message_ids", b"message_ids"]) -> None: ...
|
107
|
+
|
108
|
+
global___MessageIds = MessageIds
|
109
|
+
|
110
|
+
@typing.final
|
111
|
+
class Channels(google.protobuf.message.Message):
|
112
|
+
"""Channels"""
|
113
|
+
|
114
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
115
|
+
|
116
|
+
@typing.final
|
117
|
+
class ChannelsEntry(google.protobuf.message.Message):
|
118
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
119
|
+
|
120
|
+
KEY_FIELD_NUMBER: builtins.int
|
121
|
+
VALUE_FIELD_NUMBER: builtins.int
|
122
|
+
key: builtins.str
|
123
|
+
@property
|
124
|
+
def value(self) -> global___Channel: ...
|
125
|
+
def __init__(
|
126
|
+
self,
|
127
|
+
*,
|
128
|
+
key: builtins.str = ...,
|
129
|
+
value: global___Channel | None = ...,
|
130
|
+
) -> None: ...
|
131
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
132
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
133
|
+
|
134
|
+
CHANNELS_FIELD_NUMBER: builtins.int
|
135
|
+
@property
|
136
|
+
def channels(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Channel]: ...
|
137
|
+
def __init__(
|
138
|
+
self,
|
139
|
+
*,
|
140
|
+
channels: collections.abc.Mapping[builtins.str, global___Channel] | None = ...,
|
141
|
+
) -> None: ...
|
142
|
+
def ClearField(self, field_name: typing.Literal["channels", b"channels"]) -> None: ...
|
143
|
+
|
144
|
+
global___Channels = Channels
|
145
|
+
|
146
|
+
@typing.final
|
147
|
+
class Channel(google.protobuf.message.Message):
|
148
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
149
|
+
|
150
|
+
GET_RESULT_FIELD_NUMBER: builtins.int
|
151
|
+
IS_AVAILABLE_RESULT_FIELD_NUMBER: builtins.int
|
152
|
+
CHECKPOINT_RESULT_FIELD_NUMBER: builtins.int
|
153
|
+
is_available_result: builtins.bool
|
154
|
+
@property
|
155
|
+
def get_result(self) -> global___Value: ...
|
156
|
+
@property
|
157
|
+
def checkpoint_result(self) -> global___Value: ...
|
158
|
+
def __init__(
|
159
|
+
self,
|
160
|
+
*,
|
161
|
+
get_result: global___Value | None = ...,
|
162
|
+
is_available_result: builtins.bool = ...,
|
163
|
+
checkpoint_result: global___Value | None = ...,
|
164
|
+
) -> None: ...
|
165
|
+
def HasField(self, field_name: typing.Literal["checkpoint_result", b"checkpoint_result", "get_result", b"get_result"]) -> builtins.bool: ...
|
166
|
+
def ClearField(self, field_name: typing.Literal["checkpoint_result", b"checkpoint_result", "get_result", b"get_result", "is_available_result", b"is_available_result"]) -> None: ...
|
167
|
+
|
168
|
+
global___Channel = Channel
|
169
|
+
|
170
|
+
@typing.final
|
171
|
+
class Sends(google.protobuf.message.Message):
|
172
|
+
"""Send"""
|
173
|
+
|
174
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
175
|
+
|
176
|
+
SENDS_FIELD_NUMBER: builtins.int
|
177
|
+
@property
|
178
|
+
def sends(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Send]: ...
|
179
|
+
def __init__(
|
180
|
+
self,
|
181
|
+
*,
|
182
|
+
sends: collections.abc.Iterable[global___Send] | None = ...,
|
183
|
+
) -> None: ...
|
184
|
+
def ClearField(self, field_name: typing.Literal["sends", b"sends"]) -> None: ...
|
185
|
+
|
186
|
+
global___Sends = Sends
|
187
|
+
|
188
|
+
@typing.final
|
189
|
+
class Send(google.protobuf.message.Message):
|
190
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
191
|
+
|
192
|
+
NODE_FIELD_NUMBER: builtins.int
|
193
|
+
ARG_FIELD_NUMBER: builtins.int
|
194
|
+
node: builtins.str
|
195
|
+
@property
|
196
|
+
def arg(self) -> global___Value: ...
|
197
|
+
def __init__(
|
198
|
+
self,
|
199
|
+
*,
|
200
|
+
node: builtins.str = ...,
|
201
|
+
arg: global___Value | None = ...,
|
202
|
+
) -> None: ...
|
203
|
+
def HasField(self, field_name: typing.Literal["arg", b"arg"]) -> builtins.bool: ...
|
204
|
+
def ClearField(self, field_name: typing.Literal["arg", b"arg", "node", b"node"]) -> None: ...
|
205
|
+
|
206
|
+
global___Send = Send
|
207
|
+
|
208
|
+
@typing.final
|
209
|
+
class Command(google.protobuf.message.Message):
|
210
|
+
"""Command"""
|
211
|
+
|
212
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
213
|
+
|
214
|
+
@typing.final
|
215
|
+
class UpdateEntry(google.protobuf.message.Message):
|
216
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
217
|
+
|
218
|
+
KEY_FIELD_NUMBER: builtins.int
|
219
|
+
VALUE_FIELD_NUMBER: builtins.int
|
220
|
+
key: builtins.str
|
221
|
+
@property
|
222
|
+
def value(self) -> global___Value: ...
|
223
|
+
def __init__(
|
224
|
+
self,
|
225
|
+
*,
|
226
|
+
key: builtins.str = ...,
|
227
|
+
value: global___Value | None = ...,
|
228
|
+
) -> None: ...
|
229
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
230
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
231
|
+
|
232
|
+
GRAPH_FIELD_NUMBER: builtins.int
|
233
|
+
UPDATE_FIELD_NUMBER: builtins.int
|
234
|
+
RESUME_FIELD_NUMBER: builtins.int
|
235
|
+
GOTOS_FIELD_NUMBER: builtins.int
|
236
|
+
graph: builtins.str
|
237
|
+
@property
|
238
|
+
def update(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Value]: ...
|
239
|
+
@property
|
240
|
+
def resume(self) -> global___Resume: ...
|
241
|
+
@property
|
242
|
+
def gotos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Goto]: ...
|
243
|
+
def __init__(
|
244
|
+
self,
|
245
|
+
*,
|
246
|
+
graph: builtins.str | None = ...,
|
247
|
+
update: collections.abc.Mapping[builtins.str, global___Value] | None = ...,
|
248
|
+
resume: global___Resume | None = ...,
|
249
|
+
gotos: collections.abc.Iterable[global___Goto] | None = ...,
|
250
|
+
) -> None: ...
|
251
|
+
def HasField(self, field_name: typing.Literal["_graph", b"_graph", "graph", b"graph", "resume", b"resume"]) -> builtins.bool: ...
|
252
|
+
def ClearField(self, field_name: typing.Literal["_graph", b"_graph", "gotos", b"gotos", "graph", b"graph", "resume", b"resume", "update", b"update"]) -> None: ...
|
253
|
+
def WhichOneof(self, oneof_group: typing.Literal["_graph", b"_graph"]) -> typing.Literal["graph"] | None: ...
|
254
|
+
|
255
|
+
global___Command = Command
|
256
|
+
|
257
|
+
@typing.final
|
258
|
+
class Resume(google.protobuf.message.Message):
|
259
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
260
|
+
|
261
|
+
VALUE_FIELD_NUMBER: builtins.int
|
262
|
+
VALUES_FIELD_NUMBER: builtins.int
|
263
|
+
@property
|
264
|
+
def value(self) -> global___Value: ...
|
265
|
+
@property
|
266
|
+
def values(self) -> global___InterruptValues: ...
|
267
|
+
def __init__(
|
268
|
+
self,
|
269
|
+
*,
|
270
|
+
value: global___Value | None = ...,
|
271
|
+
values: global___InterruptValues | None = ...,
|
272
|
+
) -> None: ...
|
273
|
+
def HasField(self, field_name: typing.Literal["message", b"message", "value", b"value", "values", b"values"]) -> builtins.bool: ...
|
274
|
+
def ClearField(self, field_name: typing.Literal["message", b"message", "value", b"value", "values", b"values"]) -> None: ...
|
275
|
+
def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["value", "values"] | None: ...
|
276
|
+
|
277
|
+
global___Resume = Resume
|
278
|
+
|
279
|
+
@typing.final
|
280
|
+
class InterruptValues(google.protobuf.message.Message):
|
281
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
282
|
+
|
283
|
+
@typing.final
|
284
|
+
class ValuesEntry(google.protobuf.message.Message):
|
285
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
286
|
+
|
287
|
+
KEY_FIELD_NUMBER: builtins.int
|
288
|
+
VALUE_FIELD_NUMBER: builtins.int
|
289
|
+
key: builtins.str
|
290
|
+
@property
|
291
|
+
def value(self) -> global___Value: ...
|
292
|
+
def __init__(
|
293
|
+
self,
|
294
|
+
*,
|
295
|
+
key: builtins.str = ...,
|
296
|
+
value: global___Value | None = ...,
|
297
|
+
) -> None: ...
|
298
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
299
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
300
|
+
|
301
|
+
VALUES_FIELD_NUMBER: builtins.int
|
302
|
+
@property
|
303
|
+
def values(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Value]: ...
|
304
|
+
def __init__(
|
305
|
+
self,
|
306
|
+
*,
|
307
|
+
values: collections.abc.Mapping[builtins.str, global___Value] | None = ...,
|
308
|
+
) -> None: ...
|
309
|
+
def ClearField(self, field_name: typing.Literal["values", b"values"]) -> None: ...
|
310
|
+
|
311
|
+
global___InterruptValues = InterruptValues
|
312
|
+
|
313
|
+
@typing.final
|
314
|
+
class Goto(google.protobuf.message.Message):
|
315
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
316
|
+
|
317
|
+
NODE_NAME_FIELD_NUMBER: builtins.int
|
318
|
+
SEND_FIELD_NUMBER: builtins.int
|
319
|
+
@property
|
320
|
+
def node_name(self) -> global___NodeName: ...
|
321
|
+
@property
|
322
|
+
def send(self) -> global___Send: ...
|
323
|
+
def __init__(
|
324
|
+
self,
|
325
|
+
*,
|
326
|
+
node_name: global___NodeName | None = ...,
|
327
|
+
send: global___Send | None = ...,
|
328
|
+
) -> None: ...
|
329
|
+
def HasField(self, field_name: typing.Literal["message", b"message", "node_name", b"node_name", "send", b"send"]) -> builtins.bool: ...
|
330
|
+
def ClearField(self, field_name: typing.Literal["message", b"message", "node_name", b"node_name", "send", b"send"]) -> None: ...
|
331
|
+
def WhichOneof(self, oneof_group: typing.Literal["message", b"message"]) -> typing.Literal["node_name", "send"] | None: ...
|
332
|
+
|
333
|
+
global___Goto = Goto
|
334
|
+
|
335
|
+
@typing.final
|
336
|
+
class NodeName(google.protobuf.message.Message):
|
337
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
338
|
+
|
339
|
+
NAME_FIELD_NUMBER: builtins.int
|
340
|
+
name: builtins.str
|
341
|
+
def __init__(
|
342
|
+
self,
|
343
|
+
*,
|
344
|
+
name: builtins.str = ...,
|
345
|
+
) -> None: ...
|
346
|
+
def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ...
|
347
|
+
|
348
|
+
global___NodeName = NodeName
|
349
|
+
|
350
|
+
@typing.final
|
351
|
+
class ExecutorError(google.protobuf.message.Message):
|
352
|
+
"""Executor Exception"""
|
353
|
+
|
354
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
355
|
+
|
356
|
+
ERROR_SERIALIZED_FIELD_NUMBER: builtins.int
|
357
|
+
GRAPH_BUBBLE_UP_FIELD_NUMBER: builtins.int
|
358
|
+
GRAPH_INTERRUPT_FIELD_NUMBER: builtins.int
|
359
|
+
BASE_ERROR_FIELD_NUMBER: builtins.int
|
360
|
+
TRACEBACK_FIELD_NUMBER: builtins.int
|
361
|
+
traceback: builtins.str
|
362
|
+
@property
|
363
|
+
def error_serialized(self) -> global___SerializedValue: ...
|
364
|
+
@property
|
365
|
+
def graph_bubble_up(self) -> global___GraphBubbleUp: ...
|
366
|
+
@property
|
367
|
+
def graph_interrupt(self) -> global___GraphInterrupt: ...
|
368
|
+
@property
|
369
|
+
def base_error(self) -> global___BaseError: ...
|
370
|
+
def __init__(
|
371
|
+
self,
|
372
|
+
*,
|
373
|
+
error_serialized: global___SerializedValue | None = ...,
|
374
|
+
graph_bubble_up: global___GraphBubbleUp | None = ...,
|
375
|
+
graph_interrupt: global___GraphInterrupt | None = ...,
|
376
|
+
base_error: global___BaseError | None = ...,
|
377
|
+
traceback: builtins.str = ...,
|
378
|
+
) -> None: ...
|
379
|
+
def HasField(self, field_name: typing.Literal["base_error", b"base_error", "error_serialized", b"error_serialized", "error_type", b"error_type", "graph_bubble_up", b"graph_bubble_up", "graph_interrupt", b"graph_interrupt"]) -> builtins.bool: ...
|
380
|
+
def ClearField(self, field_name: typing.Literal["base_error", b"base_error", "error_serialized", b"error_serialized", "error_type", b"error_type", "graph_bubble_up", b"graph_bubble_up", "graph_interrupt", b"graph_interrupt", "traceback", b"traceback"]) -> None: ...
|
381
|
+
def WhichOneof(self, oneof_group: typing.Literal["error_type", b"error_type"]) -> typing.Literal["graph_bubble_up", "graph_interrupt", "base_error"] | None: ...
|
382
|
+
|
383
|
+
global___ExecutorError = ExecutorError
|
384
|
+
|
385
|
+
@typing.final
|
386
|
+
class GraphBubbleUp(google.protobuf.message.Message):
|
387
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
388
|
+
|
389
|
+
def __init__(
|
390
|
+
self,
|
391
|
+
) -> None: ...
|
392
|
+
|
393
|
+
global___GraphBubbleUp = GraphBubbleUp
|
394
|
+
|
395
|
+
@typing.final
|
396
|
+
class GraphInterrupt(google.protobuf.message.Message):
|
397
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
398
|
+
|
399
|
+
INTERRUPTS_FIELD_NUMBER: builtins.int
|
400
|
+
INTERRUPTS_SERIALIZED_FIELD_NUMBER: builtins.int
|
401
|
+
@property
|
402
|
+
def interrupts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Interrupt]: ...
|
403
|
+
@property
|
404
|
+
def interrupts_serialized(self) -> global___SerializedValue: ...
|
405
|
+
def __init__(
|
406
|
+
self,
|
407
|
+
*,
|
408
|
+
interrupts: collections.abc.Iterable[global___Interrupt] | None = ...,
|
409
|
+
interrupts_serialized: global___SerializedValue | None = ...,
|
410
|
+
) -> None: ...
|
411
|
+
def HasField(self, field_name: typing.Literal["interrupts_serialized", b"interrupts_serialized"]) -> builtins.bool: ...
|
412
|
+
def ClearField(self, field_name: typing.Literal["interrupts", b"interrupts", "interrupts_serialized", b"interrupts_serialized"]) -> None: ...
|
413
|
+
|
414
|
+
global___GraphInterrupt = GraphInterrupt
|
415
|
+
|
416
|
+
@typing.final
|
417
|
+
class BaseError(google.protobuf.message.Message):
|
418
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
419
|
+
|
420
|
+
ERROR_TYPE_FIELD_NUMBER: builtins.int
|
421
|
+
ERROR_MESSAGE_FIELD_NUMBER: builtins.int
|
422
|
+
ERROR_SERIALIZED_FIELD_NUMBER: builtins.int
|
423
|
+
error_type: builtins.str
|
424
|
+
error_message: builtins.str
|
425
|
+
@property
|
426
|
+
def error_serialized(self) -> global___SerializedValue: ...
|
427
|
+
def __init__(
|
428
|
+
self,
|
429
|
+
*,
|
430
|
+
error_type: builtins.str = ...,
|
431
|
+
error_message: builtins.str = ...,
|
432
|
+
error_serialized: global___SerializedValue | None = ...,
|
433
|
+
) -> None: ...
|
434
|
+
def HasField(self, field_name: typing.Literal["error_serialized", b"error_serialized"]) -> builtins.bool: ...
|
435
|
+
def ClearField(self, field_name: typing.Literal["error_message", b"error_message", "error_serialized", b"error_serialized", "error_type", b"error_type"]) -> None: ...
|
436
|
+
|
437
|
+
global___BaseError = BaseError
|
438
|
+
|
439
|
+
@typing.final
|
440
|
+
class Interrupt(google.protobuf.message.Message):
|
441
|
+
"""Interrupt"""
|
442
|
+
|
443
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
444
|
+
|
445
|
+
VALUE_FIELD_NUMBER: builtins.int
|
446
|
+
ID_FIELD_NUMBER: builtins.int
|
447
|
+
id: builtins.str
|
448
|
+
@property
|
449
|
+
def value(self) -> global___Value: ...
|
450
|
+
def __init__(
|
451
|
+
self,
|
452
|
+
*,
|
453
|
+
value: global___Value | None = ...,
|
454
|
+
id: builtins.str = ...,
|
455
|
+
) -> None: ...
|
456
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
457
|
+
def ClearField(self, field_name: typing.Literal["id", b"id", "value", b"value"]) -> None: ...
|
458
|
+
|
459
|
+
global___Interrupt = Interrupt
|
460
|
+
|
461
|
+
@typing.final
|
462
|
+
class Write(google.protobuf.message.Message):
|
463
|
+
"""Writes"""
|
464
|
+
|
465
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
466
|
+
|
467
|
+
CHANNEL_FIELD_NUMBER: builtins.int
|
468
|
+
VALUE_FIELD_NUMBER: builtins.int
|
469
|
+
channel: builtins.str
|
470
|
+
@property
|
471
|
+
def value(self) -> global___Value: ...
|
472
|
+
def __init__(
|
473
|
+
self,
|
474
|
+
*,
|
475
|
+
channel: builtins.str = ...,
|
476
|
+
value: global___Value | None = ...,
|
477
|
+
) -> None: ...
|
478
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
479
|
+
def ClearField(self, field_name: typing.Literal["channel", b"channel", "value", b"value"]) -> None: ...
|
480
|
+
|
481
|
+
global___Write = Write
|
482
|
+
|
483
|
+
@typing.final
|
484
|
+
class PendingWrite(google.protobuf.message.Message):
|
485
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
486
|
+
|
487
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
488
|
+
CHANNEL_FIELD_NUMBER: builtins.int
|
489
|
+
VALUE_FIELD_NUMBER: builtins.int
|
490
|
+
task_id: builtins.str
|
491
|
+
channel: builtins.str
|
492
|
+
@property
|
493
|
+
def value(self) -> global___Value: ...
|
494
|
+
def __init__(
|
495
|
+
self,
|
496
|
+
*,
|
497
|
+
task_id: builtins.str = ...,
|
498
|
+
channel: builtins.str = ...,
|
499
|
+
value: global___Value | None = ...,
|
500
|
+
) -> None: ...
|
501
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
502
|
+
def ClearField(self, field_name: typing.Literal["channel", b"channel", "task_id", b"task_id", "value", b"value"]) -> None: ...
|
503
|
+
|
504
|
+
global___PendingWrite = PendingWrite
|
505
|
+
|
506
|
+
@typing.final
|
507
|
+
class ChannelVersions(google.protobuf.message.Message):
|
508
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
509
|
+
|
510
|
+
@typing.final
|
511
|
+
class ChannelVersionsEntry(google.protobuf.message.Message):
|
512
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
513
|
+
|
514
|
+
KEY_FIELD_NUMBER: builtins.int
|
515
|
+
VALUE_FIELD_NUMBER: builtins.int
|
516
|
+
key: builtins.str
|
517
|
+
value: builtins.str
|
518
|
+
def __init__(
|
519
|
+
self,
|
520
|
+
*,
|
521
|
+
key: builtins.str = ...,
|
522
|
+
value: builtins.str = ...,
|
523
|
+
) -> None: ...
|
524
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
525
|
+
|
526
|
+
CHANNEL_VERSIONS_FIELD_NUMBER: builtins.int
|
527
|
+
@property
|
528
|
+
def channel_versions(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
529
|
+
def __init__(
|
530
|
+
self,
|
531
|
+
*,
|
532
|
+
channel_versions: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
533
|
+
) -> None: ...
|
534
|
+
def ClearField(self, field_name: typing.Literal["channel_versions", b"channel_versions"]) -> None: ...
|
535
|
+
|
536
|
+
global___ChannelVersions = ChannelVersions
|
537
|
+
|
538
|
+
@typing.final
|
539
|
+
class RunnableConfig(google.protobuf.message.Message):
|
540
|
+
"""Config"""
|
541
|
+
|
542
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
543
|
+
|
544
|
+
TAGS_FIELD_NUMBER: builtins.int
|
545
|
+
METADATA_FIELD_NUMBER: builtins.int
|
546
|
+
RUN_NAME_FIELD_NUMBER: builtins.int
|
547
|
+
MAX_CONCURRENCY_FIELD_NUMBER: builtins.int
|
548
|
+
RECURSION_LIMIT_FIELD_NUMBER: builtins.int
|
549
|
+
CONFIGURABLE_FIELD_NUMBER: builtins.int
|
550
|
+
RESERVED_CONFIGURABLE_FIELD_NUMBER: builtins.int
|
551
|
+
RUN_ID_FIELD_NUMBER: builtins.int
|
552
|
+
run_name: builtins.str
|
553
|
+
max_concurrency: builtins.int
|
554
|
+
recursion_limit: builtins.int
|
555
|
+
run_id: builtins.str
|
556
|
+
@property
|
557
|
+
def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
558
|
+
@property
|
559
|
+
def metadata(self) -> google.protobuf.struct_pb2.Struct: ...
|
560
|
+
@property
|
561
|
+
def configurable(self) -> google.protobuf.struct_pb2.Struct: ...
|
562
|
+
@property
|
563
|
+
def reserved_configurable(self) -> global___ReservedConfigurable: ...
|
564
|
+
def __init__(
|
565
|
+
self,
|
566
|
+
*,
|
567
|
+
tags: collections.abc.Iterable[builtins.str] | None = ...,
|
568
|
+
metadata: google.protobuf.struct_pb2.Struct | None = ...,
|
569
|
+
run_name: builtins.str = ...,
|
570
|
+
max_concurrency: builtins.int = ...,
|
571
|
+
recursion_limit: builtins.int = ...,
|
572
|
+
configurable: google.protobuf.struct_pb2.Struct | None = ...,
|
573
|
+
reserved_configurable: global___ReservedConfigurable | None = ...,
|
574
|
+
run_id: builtins.str = ...,
|
575
|
+
) -> None: ...
|
576
|
+
def HasField(self, field_name: typing.Literal["configurable", b"configurable", "metadata", b"metadata", "reserved_configurable", b"reserved_configurable"]) -> builtins.bool: ...
|
577
|
+
def ClearField(self, field_name: typing.Literal["configurable", b"configurable", "max_concurrency", b"max_concurrency", "metadata", b"metadata", "recursion_limit", b"recursion_limit", "reserved_configurable", b"reserved_configurable", "run_id", b"run_id", "run_name", b"run_name", "tags", b"tags"]) -> None: ...
|
578
|
+
|
579
|
+
global___RunnableConfig = RunnableConfig
|
580
|
+
|
581
|
+
@typing.final
|
582
|
+
class Context(google.protobuf.message.Message):
|
583
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
584
|
+
|
585
|
+
CONTEXT_FIELD_NUMBER: builtins.int
|
586
|
+
@property
|
587
|
+
def context(self) -> google.protobuf.struct_pb2.Struct: ...
|
588
|
+
def __init__(
|
589
|
+
self,
|
590
|
+
*,
|
591
|
+
context: google.protobuf.struct_pb2.Struct | None = ...,
|
592
|
+
) -> None: ...
|
593
|
+
def HasField(self, field_name: typing.Literal["context", b"context"]) -> builtins.bool: ...
|
594
|
+
def ClearField(self, field_name: typing.Literal["context", b"context"]) -> None: ...
|
595
|
+
|
596
|
+
global___Context = Context
|
597
|
+
|
598
|
+
@typing.final
|
599
|
+
class ReservedConfigurable(google.protobuf.message.Message):
|
600
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
601
|
+
|
602
|
+
@typing.final
|
603
|
+
class CheckpointMapEntry(google.protobuf.message.Message):
|
604
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
605
|
+
|
606
|
+
KEY_FIELD_NUMBER: builtins.int
|
607
|
+
VALUE_FIELD_NUMBER: builtins.int
|
608
|
+
key: builtins.str
|
609
|
+
value: builtins.str
|
610
|
+
def __init__(
|
611
|
+
self,
|
612
|
+
*,
|
613
|
+
key: builtins.str = ...,
|
614
|
+
value: builtins.str = ...,
|
615
|
+
) -> None: ...
|
616
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
617
|
+
|
618
|
+
@typing.final
|
619
|
+
class ResumeMapEntry(google.protobuf.message.Message):
|
620
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
621
|
+
|
622
|
+
KEY_FIELD_NUMBER: builtins.int
|
623
|
+
VALUE_FIELD_NUMBER: builtins.int
|
624
|
+
key: builtins.str
|
625
|
+
@property
|
626
|
+
def value(self) -> global___Value: ...
|
627
|
+
def __init__(
|
628
|
+
self,
|
629
|
+
*,
|
630
|
+
key: builtins.str = ...,
|
631
|
+
value: global___Value | None = ...,
|
632
|
+
) -> None: ...
|
633
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
634
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
635
|
+
|
636
|
+
RESUMING_FIELD_NUMBER: builtins.int
|
637
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
638
|
+
DEDUPE_TASKS_FIELD_NUMBER: builtins.int
|
639
|
+
ENSURE_LATEST_FIELD_NUMBER: builtins.int
|
640
|
+
THREAD_ID_FIELD_NUMBER: builtins.int
|
641
|
+
CHECKPOINT_MAP_FIELD_NUMBER: builtins.int
|
642
|
+
CHECKPOINT_ID_FIELD_NUMBER: builtins.int
|
643
|
+
CHECKPOINT_NS_FIELD_NUMBER: builtins.int
|
644
|
+
PREVIOUS_FIELD_NUMBER: builtins.int
|
645
|
+
DURABILITY_FIELD_NUMBER: builtins.int
|
646
|
+
RESUME_MAP_FIELD_NUMBER: builtins.int
|
647
|
+
resuming: builtins.bool
|
648
|
+
task_id: builtins.str
|
649
|
+
dedupe_tasks: builtins.bool
|
650
|
+
ensure_latest: builtins.bool
|
651
|
+
thread_id: builtins.str
|
652
|
+
checkpoint_id: builtins.str
|
653
|
+
checkpoint_ns: builtins.str
|
654
|
+
durability: builtins.str
|
655
|
+
@property
|
656
|
+
def checkpoint_map(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
657
|
+
@property
|
658
|
+
def previous(self) -> global___SerializedValue: ...
|
659
|
+
@property
|
660
|
+
def resume_map(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Value]: ...
|
661
|
+
def __init__(
|
662
|
+
self,
|
663
|
+
*,
|
664
|
+
resuming: builtins.bool = ...,
|
665
|
+
task_id: builtins.str = ...,
|
666
|
+
dedupe_tasks: builtins.bool = ...,
|
667
|
+
ensure_latest: builtins.bool = ...,
|
668
|
+
thread_id: builtins.str = ...,
|
669
|
+
checkpoint_map: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
670
|
+
checkpoint_id: builtins.str = ...,
|
671
|
+
checkpoint_ns: builtins.str = ...,
|
672
|
+
previous: global___SerializedValue | None = ...,
|
673
|
+
durability: builtins.str = ...,
|
674
|
+
resume_map: collections.abc.Mapping[builtins.str, global___Value] | None = ...,
|
675
|
+
) -> None: ...
|
676
|
+
def HasField(self, field_name: typing.Literal["previous", b"previous"]) -> builtins.bool: ...
|
677
|
+
def ClearField(self, field_name: typing.Literal["checkpoint_id", b"checkpoint_id", "checkpoint_map", b"checkpoint_map", "checkpoint_ns", b"checkpoint_ns", "dedupe_tasks", b"dedupe_tasks", "durability", b"durability", "ensure_latest", b"ensure_latest", "previous", b"previous", "resume_map", b"resume_map", "resuming", b"resuming", "task_id", b"task_id", "thread_id", b"thread_id"]) -> None: ...
|
678
|
+
|
679
|
+
global___ReservedConfigurable = ReservedConfigurable
|
680
|
+
|
681
|
+
@typing.final
|
682
|
+
class Task(google.protobuf.message.Message):
|
683
|
+
"""Task
|
684
|
+
differentiate between push and pull
|
685
|
+
"""
|
686
|
+
|
687
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
688
|
+
|
689
|
+
@typing.final
|
690
|
+
class InputEntry(google.protobuf.message.Message):
|
691
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
692
|
+
|
693
|
+
KEY_FIELD_NUMBER: builtins.int
|
694
|
+
VALUE_FIELD_NUMBER: builtins.int
|
695
|
+
key: builtins.str
|
696
|
+
@property
|
697
|
+
def value(self) -> global___Value: ...
|
698
|
+
def __init__(
|
699
|
+
self,
|
700
|
+
*,
|
701
|
+
key: builtins.str = ...,
|
702
|
+
value: global___Value | None = ...,
|
703
|
+
) -> None: ...
|
704
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
705
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
706
|
+
|
707
|
+
NAME_FIELD_NUMBER: builtins.int
|
708
|
+
INPUT_FIELD_NUMBER: builtins.int
|
709
|
+
WRITES_FIELD_NUMBER: builtins.int
|
710
|
+
CONFIG_FIELD_NUMBER: builtins.int
|
711
|
+
TRIGGERS_FIELD_NUMBER: builtins.int
|
712
|
+
ID_FIELD_NUMBER: builtins.int
|
713
|
+
TASK_PATH_FIELD_NUMBER: builtins.int
|
714
|
+
WRITERS_FIELD_NUMBER: builtins.int
|
715
|
+
GRAPH_NAME_FIELD_NUMBER: builtins.int
|
716
|
+
PENDING_WRITES_FIELD_NUMBER: builtins.int
|
717
|
+
MESSAGES_FIELD_NUMBER: builtins.int
|
718
|
+
name: builtins.str
|
719
|
+
id: builtins.str
|
720
|
+
graph_name: builtins.str
|
721
|
+
@property
|
722
|
+
def input(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Value]: ...
|
723
|
+
@property
|
724
|
+
def writes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Write]: ...
|
725
|
+
@property
|
726
|
+
def config(self) -> global___RunnableConfig: ...
|
727
|
+
@property
|
728
|
+
def triggers(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
729
|
+
@property
|
730
|
+
def task_path(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
731
|
+
@property
|
732
|
+
def writers(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
733
|
+
@property
|
734
|
+
def pending_writes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PendingWrite]: ...
|
735
|
+
@property
|
736
|
+
def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Message]: ...
|
737
|
+
def __init__(
|
738
|
+
self,
|
739
|
+
*,
|
740
|
+
name: builtins.str = ...,
|
741
|
+
input: collections.abc.Mapping[builtins.str, global___Value] | None = ...,
|
742
|
+
writes: collections.abc.Iterable[global___Write] | None = ...,
|
743
|
+
config: global___RunnableConfig | None = ...,
|
744
|
+
triggers: collections.abc.Iterable[builtins.str] | None = ...,
|
745
|
+
id: builtins.str = ...,
|
746
|
+
task_path: collections.abc.Iterable[builtins.str] | None = ...,
|
747
|
+
writers: collections.abc.Iterable[builtins.str] | None = ...,
|
748
|
+
graph_name: builtins.str = ...,
|
749
|
+
pending_writes: collections.abc.Iterable[global___PendingWrite] | None = ...,
|
750
|
+
messages: collections.abc.Iterable[global___Message] | None = ...,
|
751
|
+
) -> None: ...
|
752
|
+
def HasField(self, field_name: typing.Literal["config", b"config"]) -> builtins.bool: ...
|
753
|
+
def ClearField(self, field_name: typing.Literal["config", b"config", "graph_name", b"graph_name", "id", b"id", "input", b"input", "messages", b"messages", "name", b"name", "pending_writes", b"pending_writes", "task_path", b"task_path", "triggers", b"triggers", "writers", b"writers", "writes", b"writes"]) -> None: ...
|
754
|
+
|
755
|
+
global___Task = Task
|
756
|
+
|
757
|
+
@typing.final
|
758
|
+
class PregelTask(google.protobuf.message.Message):
|
759
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
760
|
+
|
761
|
+
ID_FIELD_NUMBER: builtins.int
|
762
|
+
NAME_FIELD_NUMBER: builtins.int
|
763
|
+
PATH_FIELD_NUMBER: builtins.int
|
764
|
+
INTERRUPTS_FIELD_NUMBER: builtins.int
|
765
|
+
STATE_FIELD_NUMBER: builtins.int
|
766
|
+
RESULT_FIELD_NUMBER: builtins.int
|
767
|
+
ERROR_FIELD_NUMBER: builtins.int
|
768
|
+
id: builtins.str
|
769
|
+
name: builtins.str
|
770
|
+
@property
|
771
|
+
def path(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
772
|
+
"""TODO change, allow for multityped tuple"""
|
773
|
+
|
774
|
+
@property
|
775
|
+
def interrupts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Interrupt]: ...
|
776
|
+
@property
|
777
|
+
def state(self) -> google.protobuf.struct_pb2.Struct:
|
778
|
+
"""TODO allow for statesnapshot"""
|
779
|
+
|
780
|
+
@property
|
781
|
+
def result(self) -> google.protobuf.struct_pb2.Struct:
|
782
|
+
"""TODO change to bytes?"""
|
783
|
+
|
784
|
+
@property
|
785
|
+
def error(self) -> global___Value: ...
|
786
|
+
def __init__(
|
787
|
+
self,
|
788
|
+
*,
|
789
|
+
id: builtins.str = ...,
|
790
|
+
name: builtins.str = ...,
|
791
|
+
path: collections.abc.Iterable[builtins.str] | None = ...,
|
792
|
+
interrupts: collections.abc.Iterable[global___Interrupt] | None = ...,
|
793
|
+
state: google.protobuf.struct_pb2.Struct | None = ...,
|
794
|
+
result: google.protobuf.struct_pb2.Struct | None = ...,
|
795
|
+
error: global___Value | None = ...,
|
796
|
+
) -> None: ...
|
797
|
+
def HasField(self, field_name: typing.Literal["error", b"error", "result", b"result", "state", b"state"]) -> builtins.bool: ...
|
798
|
+
def ClearField(self, field_name: typing.Literal["error", b"error", "id", b"id", "interrupts", b"interrupts", "name", b"name", "path", b"path", "result", b"result", "state", b"state"]) -> None: ...
|
799
|
+
|
800
|
+
global___PregelTask = PregelTask
|
801
|
+
|
802
|
+
@typing.final
|
803
|
+
class Checkpoint(google.protobuf.message.Message):
|
804
|
+
"""Checkpoint"""
|
805
|
+
|
806
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
807
|
+
|
808
|
+
@typing.final
|
809
|
+
class ChannelValuesEntry(google.protobuf.message.Message):
|
810
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
811
|
+
|
812
|
+
KEY_FIELD_NUMBER: builtins.int
|
813
|
+
VALUE_FIELD_NUMBER: builtins.int
|
814
|
+
key: builtins.str
|
815
|
+
@property
|
816
|
+
def value(self) -> global___Value: ...
|
817
|
+
def __init__(
|
818
|
+
self,
|
819
|
+
*,
|
820
|
+
key: builtins.str = ...,
|
821
|
+
value: global___Value | None = ...,
|
822
|
+
) -> None: ...
|
823
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
824
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
825
|
+
|
826
|
+
@typing.final
|
827
|
+
class ChannelVersionsEntry(google.protobuf.message.Message):
|
828
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
829
|
+
|
830
|
+
KEY_FIELD_NUMBER: builtins.int
|
831
|
+
VALUE_FIELD_NUMBER: builtins.int
|
832
|
+
key: builtins.str
|
833
|
+
value: builtins.str
|
834
|
+
def __init__(
|
835
|
+
self,
|
836
|
+
*,
|
837
|
+
key: builtins.str = ...,
|
838
|
+
value: builtins.str = ...,
|
839
|
+
) -> None: ...
|
840
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
841
|
+
|
842
|
+
@typing.final
|
843
|
+
class VersionsSeenEntry(google.protobuf.message.Message):
|
844
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
845
|
+
|
846
|
+
KEY_FIELD_NUMBER: builtins.int
|
847
|
+
VALUE_FIELD_NUMBER: builtins.int
|
848
|
+
key: builtins.str
|
849
|
+
@property
|
850
|
+
def value(self) -> global___ChannelVersions: ...
|
851
|
+
def __init__(
|
852
|
+
self,
|
853
|
+
*,
|
854
|
+
key: builtins.str = ...,
|
855
|
+
value: global___ChannelVersions | None = ...,
|
856
|
+
) -> None: ...
|
857
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
858
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
859
|
+
|
860
|
+
V_FIELD_NUMBER: builtins.int
|
861
|
+
ID_FIELD_NUMBER: builtins.int
|
862
|
+
CHANNEL_VALUES_FIELD_NUMBER: builtins.int
|
863
|
+
CHANNEL_VERSIONS_FIELD_NUMBER: builtins.int
|
864
|
+
VERSIONS_SEEN_FIELD_NUMBER: builtins.int
|
865
|
+
TS_FIELD_NUMBER: builtins.int
|
866
|
+
v: builtins.int
|
867
|
+
id: builtins.str
|
868
|
+
ts: builtins.str
|
869
|
+
@property
|
870
|
+
def channel_values(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___Value]: ...
|
871
|
+
@property
|
872
|
+
def channel_versions(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
873
|
+
@property
|
874
|
+
def versions_seen(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___ChannelVersions]: ...
|
875
|
+
def __init__(
|
876
|
+
self,
|
877
|
+
*,
|
878
|
+
v: builtins.int = ...,
|
879
|
+
id: builtins.str = ...,
|
880
|
+
channel_values: collections.abc.Mapping[builtins.str, global___Value] | None = ...,
|
881
|
+
channel_versions: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
882
|
+
versions_seen: collections.abc.Mapping[builtins.str, global___ChannelVersions] | None = ...,
|
883
|
+
ts: builtins.str = ...,
|
884
|
+
) -> None: ...
|
885
|
+
def ClearField(self, field_name: typing.Literal["channel_values", b"channel_values", "channel_versions", b"channel_versions", "id", b"id", "ts", b"ts", "v", b"v", "versions_seen", b"versions_seen"]) -> None: ...
|
886
|
+
|
887
|
+
global___Checkpoint = Checkpoint
|
888
|
+
|
889
|
+
@typing.final
|
890
|
+
class CheckpointMetadata(google.protobuf.message.Message):
|
891
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
892
|
+
|
893
|
+
@typing.final
|
894
|
+
class ParentsEntry(google.protobuf.message.Message):
|
895
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
896
|
+
|
897
|
+
KEY_FIELD_NUMBER: builtins.int
|
898
|
+
VALUE_FIELD_NUMBER: builtins.int
|
899
|
+
key: builtins.str
|
900
|
+
value: builtins.str
|
901
|
+
def __init__(
|
902
|
+
self,
|
903
|
+
*,
|
904
|
+
key: builtins.str = ...,
|
905
|
+
value: builtins.str = ...,
|
906
|
+
) -> None: ...
|
907
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
908
|
+
|
909
|
+
SOURCE_FIELD_NUMBER: builtins.int
|
910
|
+
STEP_FIELD_NUMBER: builtins.int
|
911
|
+
PARENTS_FIELD_NUMBER: builtins.int
|
912
|
+
source: builtins.str
|
913
|
+
step: builtins.int
|
914
|
+
@property
|
915
|
+
def parents(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
916
|
+
def __init__(
|
917
|
+
self,
|
918
|
+
*,
|
919
|
+
source: builtins.str = ...,
|
920
|
+
step: builtins.int = ...,
|
921
|
+
parents: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
922
|
+
) -> None: ...
|
923
|
+
def ClearField(self, field_name: typing.Literal["parents", b"parents", "source", b"source", "step", b"step"]) -> None: ...
|
924
|
+
|
925
|
+
global___CheckpointMetadata = CheckpointMetadata
|
926
|
+
|
927
|
+
@typing.final
|
928
|
+
class Updates(google.protobuf.message.Message):
|
929
|
+
"""Updates"""
|
930
|
+
|
931
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
932
|
+
|
933
|
+
CHECKPOINT_FIELD_NUMBER: builtins.int
|
934
|
+
CHANNELS_FIELD_NUMBER: builtins.int
|
935
|
+
UPDATED_CHANNELS_FIELD_NUMBER: builtins.int
|
936
|
+
@property
|
937
|
+
def checkpoint(self) -> global___Checkpoint: ...
|
938
|
+
@property
|
939
|
+
def channels(self) -> global___Channels: ...
|
940
|
+
@property
|
941
|
+
def updated_channels(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
942
|
+
def __init__(
|
943
|
+
self,
|
944
|
+
*,
|
945
|
+
checkpoint: global___Checkpoint | None = ...,
|
946
|
+
channels: global___Channels | None = ...,
|
947
|
+
updated_channels: collections.abc.Iterable[builtins.str] | None = ...,
|
948
|
+
) -> None: ...
|
949
|
+
def HasField(self, field_name: typing.Literal["channels", b"channels", "checkpoint", b"checkpoint"]) -> builtins.bool: ...
|
950
|
+
def ClearField(self, field_name: typing.Literal["channels", b"channels", "checkpoint", b"checkpoint", "updated_channels", b"updated_channels"]) -> None: ...
|
951
|
+
|
952
|
+
global___Updates = Updates
|
953
|
+
|
954
|
+
@typing.final
|
955
|
+
class StreamChunk(google.protobuf.message.Message):
|
956
|
+
"""Stream chunk"""
|
957
|
+
|
958
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
959
|
+
|
960
|
+
NS_FIELD_NUMBER: builtins.int
|
961
|
+
MODE_FIELD_NUMBER: builtins.int
|
962
|
+
PAYLOAD_FIELD_NUMBER: builtins.int
|
963
|
+
mode: builtins.str
|
964
|
+
@property
|
965
|
+
def ns(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
966
|
+
@property
|
967
|
+
def payload(self) -> google.protobuf.struct_pb2.Struct: ...
|
968
|
+
def __init__(
|
969
|
+
self,
|
970
|
+
*,
|
971
|
+
ns: collections.abc.Iterable[builtins.str] | None = ...,
|
972
|
+
mode: builtins.str | None = ...,
|
973
|
+
payload: google.protobuf.struct_pb2.Struct | None = ...,
|
974
|
+
) -> None: ...
|
975
|
+
def HasField(self, field_name: typing.Literal["_mode", b"_mode", "mode", b"mode", "payload", b"payload"]) -> builtins.bool: ...
|
976
|
+
def ClearField(self, field_name: typing.Literal["_mode", b"_mode", "mode", b"mode", "ns", b"ns", "payload", b"payload"]) -> None: ...
|
977
|
+
def WhichOneof(self, oneof_group: typing.Literal["_mode", b"_mode"]) -> typing.Literal["mode"] | None: ...
|
978
|
+
|
979
|
+
global___StreamChunk = StreamChunk
|
980
|
+
|
981
|
+
@typing.final
|
982
|
+
class Message(google.protobuf.message.Message):
|
983
|
+
"""I should type this out more"""
|
984
|
+
|
985
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
986
|
+
|
987
|
+
PAYLOAD_FIELD_NUMBER: builtins.int
|
988
|
+
@property
|
989
|
+
def payload(self) -> google.protobuf.struct_pb2.Struct: ...
|
990
|
+
def __init__(
|
991
|
+
self,
|
992
|
+
*,
|
993
|
+
payload: google.protobuf.struct_pb2.Struct | None = ...,
|
994
|
+
) -> None: ...
|
995
|
+
def HasField(self, field_name: typing.Literal["payload", b"payload"]) -> builtins.bool: ...
|
996
|
+
def ClearField(self, field_name: typing.Literal["payload", b"payload"]) -> None: ...
|
997
|
+
|
998
|
+
global___Message = Message
|
999
|
+
|
1000
|
+
@typing.final
|
1001
|
+
class StateSnapshot(google.protobuf.message.Message):
|
1002
|
+
"""StateSnapshot"""
|
1003
|
+
|
1004
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
1005
|
+
|
1006
|
+
VALUES_FIELD_NUMBER: builtins.int
|
1007
|
+
NEXT_FIELD_NUMBER: builtins.int
|
1008
|
+
CONFIG_FIELD_NUMBER: builtins.int
|
1009
|
+
METADATA_FIELD_NUMBER: builtins.int
|
1010
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
1011
|
+
PARENT_CONFIG_FIELD_NUMBER: builtins.int
|
1012
|
+
TASKS_FIELD_NUMBER: builtins.int
|
1013
|
+
INTERRUPTS_FIELD_NUMBER: builtins.int
|
1014
|
+
created_at: builtins.str
|
1015
|
+
@property
|
1016
|
+
def values(self) -> google.protobuf.struct_pb2.Struct: ...
|
1017
|
+
@property
|
1018
|
+
def next(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
1019
|
+
@property
|
1020
|
+
def config(self) -> global___RunnableConfig: ...
|
1021
|
+
@property
|
1022
|
+
def metadata(self) -> google.protobuf.struct_pb2.Struct: ...
|
1023
|
+
@property
|
1024
|
+
def parent_config(self) -> global___RunnableConfig: ...
|
1025
|
+
@property
|
1026
|
+
def tasks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PregelTask]: ...
|
1027
|
+
@property
|
1028
|
+
def interrupts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Interrupt]: ...
|
1029
|
+
def __init__(
|
1030
|
+
self,
|
1031
|
+
*,
|
1032
|
+
values: google.protobuf.struct_pb2.Struct | None = ...,
|
1033
|
+
next: collections.abc.Iterable[builtins.str] | None = ...,
|
1034
|
+
config: global___RunnableConfig | None = ...,
|
1035
|
+
metadata: google.protobuf.struct_pb2.Struct | None = ...,
|
1036
|
+
created_at: builtins.str = ...,
|
1037
|
+
parent_config: global___RunnableConfig | None = ...,
|
1038
|
+
tasks: collections.abc.Iterable[global___PregelTask] | None = ...,
|
1039
|
+
interrupts: collections.abc.Iterable[global___Interrupt] | None = ...,
|
1040
|
+
) -> None: ...
|
1041
|
+
def HasField(self, field_name: typing.Literal["config", b"config", "metadata", b"metadata", "parent_config", b"parent_config", "values", b"values"]) -> builtins.bool: ...
|
1042
|
+
def ClearField(self, field_name: typing.Literal["config", b"config", "created_at", b"created_at", "interrupts", b"interrupts", "metadata", b"metadata", "next", b"next", "parent_config", b"parent_config", "tasks", b"tasks", "values", b"values"]) -> None: ...
|
1043
|
+
|
1044
|
+
global___StateSnapshot = StateSnapshot
|