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,151 @@
|
|
1
|
+
"""
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
3
|
+
isort:skip_file
|
4
|
+
"""
|
5
|
+
|
6
|
+
import abc
|
7
|
+
import collections.abc
|
8
|
+
import google.protobuf.empty_pb2
|
9
|
+
import grpc
|
10
|
+
import grpc.aio
|
11
|
+
import runtime_pb2
|
12
|
+
import typing
|
13
|
+
|
14
|
+
_T = typing.TypeVar("_T")
|
15
|
+
|
16
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
17
|
+
|
18
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
19
|
+
...
|
20
|
+
|
21
|
+
class LangGraphRuntimeStub:
|
22
|
+
"""Runtime service for executing graphs"""
|
23
|
+
|
24
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
25
|
+
AddExecutor: grpc.UnaryUnaryMultiCallable[
|
26
|
+
runtime_pb2.AddExecutorRequest,
|
27
|
+
google.protobuf.empty_pb2.Empty,
|
28
|
+
]
|
29
|
+
"""Add executors to pool"""
|
30
|
+
|
31
|
+
AddGraph: grpc.UnaryUnaryMultiCallable[
|
32
|
+
runtime_pb2.AddGraphRequest,
|
33
|
+
google.protobuf.empty_pb2.Empty,
|
34
|
+
]
|
35
|
+
"""Add graph to runtime"""
|
36
|
+
|
37
|
+
Invoke: grpc.UnaryUnaryMultiCallable[
|
38
|
+
runtime_pb2.InvokeRequest,
|
39
|
+
runtime_pb2.OutputChunk,
|
40
|
+
]
|
41
|
+
"""Invoke a graph synchronously"""
|
42
|
+
|
43
|
+
Stream: grpc.UnaryStreamMultiCallable[
|
44
|
+
runtime_pb2.StreamRequest,
|
45
|
+
runtime_pb2.OutputChunk,
|
46
|
+
]
|
47
|
+
"""Stream graph execution"""
|
48
|
+
|
49
|
+
GetState: grpc.UnaryUnaryMultiCallable[
|
50
|
+
runtime_pb2.GetStateRequest,
|
51
|
+
runtime_pb2.GetStateResponse,
|
52
|
+
]
|
53
|
+
"""State"""
|
54
|
+
|
55
|
+
GetStateHistory: grpc.UnaryUnaryMultiCallable[
|
56
|
+
runtime_pb2.GetStateHistoryRequest,
|
57
|
+
runtime_pb2.GetStateHistoryResponse,
|
58
|
+
]
|
59
|
+
"""State history"""
|
60
|
+
|
61
|
+
class LangGraphRuntimeAsyncStub:
|
62
|
+
"""Runtime service for executing graphs"""
|
63
|
+
|
64
|
+
AddExecutor: grpc.aio.UnaryUnaryMultiCallable[
|
65
|
+
runtime_pb2.AddExecutorRequest,
|
66
|
+
google.protobuf.empty_pb2.Empty,
|
67
|
+
]
|
68
|
+
"""Add executors to pool"""
|
69
|
+
|
70
|
+
AddGraph: grpc.aio.UnaryUnaryMultiCallable[
|
71
|
+
runtime_pb2.AddGraphRequest,
|
72
|
+
google.protobuf.empty_pb2.Empty,
|
73
|
+
]
|
74
|
+
"""Add graph to runtime"""
|
75
|
+
|
76
|
+
Invoke: grpc.aio.UnaryUnaryMultiCallable[
|
77
|
+
runtime_pb2.InvokeRequest,
|
78
|
+
runtime_pb2.OutputChunk,
|
79
|
+
]
|
80
|
+
"""Invoke a graph synchronously"""
|
81
|
+
|
82
|
+
Stream: grpc.aio.UnaryStreamMultiCallable[
|
83
|
+
runtime_pb2.StreamRequest,
|
84
|
+
runtime_pb2.OutputChunk,
|
85
|
+
]
|
86
|
+
"""Stream graph execution"""
|
87
|
+
|
88
|
+
GetState: grpc.aio.UnaryUnaryMultiCallable[
|
89
|
+
runtime_pb2.GetStateRequest,
|
90
|
+
runtime_pb2.GetStateResponse,
|
91
|
+
]
|
92
|
+
"""State"""
|
93
|
+
|
94
|
+
GetStateHistory: grpc.aio.UnaryUnaryMultiCallable[
|
95
|
+
runtime_pb2.GetStateHistoryRequest,
|
96
|
+
runtime_pb2.GetStateHistoryResponse,
|
97
|
+
]
|
98
|
+
"""State history"""
|
99
|
+
|
100
|
+
class LangGraphRuntimeServicer(metaclass=abc.ABCMeta):
|
101
|
+
"""Runtime service for executing graphs"""
|
102
|
+
|
103
|
+
@abc.abstractmethod
|
104
|
+
def AddExecutor(
|
105
|
+
self,
|
106
|
+
request: runtime_pb2.AddExecutorRequest,
|
107
|
+
context: _ServicerContext,
|
108
|
+
) -> typing.Union[google.protobuf.empty_pb2.Empty, collections.abc.Awaitable[google.protobuf.empty_pb2.Empty]]:
|
109
|
+
"""Add executors to pool"""
|
110
|
+
|
111
|
+
@abc.abstractmethod
|
112
|
+
def AddGraph(
|
113
|
+
self,
|
114
|
+
request: runtime_pb2.AddGraphRequest,
|
115
|
+
context: _ServicerContext,
|
116
|
+
) -> typing.Union[google.protobuf.empty_pb2.Empty, collections.abc.Awaitable[google.protobuf.empty_pb2.Empty]]:
|
117
|
+
"""Add graph to runtime"""
|
118
|
+
|
119
|
+
@abc.abstractmethod
|
120
|
+
def Invoke(
|
121
|
+
self,
|
122
|
+
request: runtime_pb2.InvokeRequest,
|
123
|
+
context: _ServicerContext,
|
124
|
+
) -> typing.Union[runtime_pb2.OutputChunk, collections.abc.Awaitable[runtime_pb2.OutputChunk]]:
|
125
|
+
"""Invoke a graph synchronously"""
|
126
|
+
|
127
|
+
@abc.abstractmethod
|
128
|
+
def Stream(
|
129
|
+
self,
|
130
|
+
request: runtime_pb2.StreamRequest,
|
131
|
+
context: _ServicerContext,
|
132
|
+
) -> typing.Union[collections.abc.Iterator[runtime_pb2.OutputChunk], collections.abc.AsyncIterator[runtime_pb2.OutputChunk]]:
|
133
|
+
"""Stream graph execution"""
|
134
|
+
|
135
|
+
@abc.abstractmethod
|
136
|
+
def GetState(
|
137
|
+
self,
|
138
|
+
request: runtime_pb2.GetStateRequest,
|
139
|
+
context: _ServicerContext,
|
140
|
+
) -> typing.Union[runtime_pb2.GetStateResponse, collections.abc.Awaitable[runtime_pb2.GetStateResponse]]:
|
141
|
+
"""State"""
|
142
|
+
|
143
|
+
@abc.abstractmethod
|
144
|
+
def GetStateHistory(
|
145
|
+
self,
|
146
|
+
request: runtime_pb2.GetStateHistoryRequest,
|
147
|
+
context: _ServicerContext,
|
148
|
+
) -> typing.Union[runtime_pb2.GetStateHistoryResponse, collections.abc.Awaitable[runtime_pb2.GetStateHistoryResponse]]:
|
149
|
+
"""State history"""
|
150
|
+
|
151
|
+
def add_LangGraphRuntimeServicer_to_server(servicer: LangGraphRuntimeServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: types.proto
|
5
|
+
# Protobuf Python Version: 6.31.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
6,
|
15
|
+
31,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'types.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
26
|
+
|
27
|
+
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0btypes.proto\x12\x05types\x1a\x1cgoogle/protobuf/struct.proto\"\xa8\x02\n\x05Value\x12\x30\n\x10serialized_value\x18\x01 \x01(\x0b\x32\x16.types.SerializedValue\x12,\n\nbase_value\x18\x02 \x01(\x0b\x32\x16.types.SerializedValueH\x00\x12\x1d\n\x05sends\x18\x03 \x01(\x0b\x32\x0c.types.SendsH\x00\x12!\n\x07missing\x18\x04 \x01(\x0b\x32\x0e.types.MissingH\x00\x12!\n\x07\x63ommand\x18\x05 \x01(\x0b\x32\x0e.types.CommandH\x00\x12%\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x14.types.ExecutorErrorH\x00\x12(\n\x0bmessage_ids\x18\x07 \x01(\x0b\x32\x11.types.MessageIdsH\x00\x42\t\n\x07message\"\t\n\x07Missing\"0\n\x0fSerializedValue\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"!\n\nMessageIds\x12\x13\n\x0bmessage_ids\x18\x01 \x03(\t\"|\n\x08\x43hannels\x12/\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1d.types.Channels.ChannelsEntry\x1a?\n\rChannelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.types.Channel:\x02\x38\x01\"q\n\x07\x43hannel\x12 \n\nget_result\x18\x01 \x01(\x0b\x32\x0c.types.Value\x12\x1b\n\x13is_available_result\x18\x02 \x01(\x08\x12\'\n\x11\x63heckpoint_result\x18\x03 \x01(\x0b\x32\x0c.types.Value\"#\n\x05Sends\x12\x1a\n\x05sends\x18\x01 \x03(\x0b\x32\x0b.types.Send\"/\n\x04Send\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\x19\n\x03\x61rg\x18\x02 \x01(\x0b\x32\x0c.types.Value\"\xcb\x01\n\x07\x43ommand\x12\x12\n\x05graph\x18\x01 \x01(\tH\x00\x88\x01\x01\x12*\n\x06update\x18\x02 \x03(\x0b\x32\x1a.types.Command.UpdateEntry\x12\x1d\n\x06resume\x18\x03 \x01(\x0b\x32\r.types.Resume\x12\x1a\n\x05gotos\x18\x04 \x03(\x0b\x32\x0b.types.Goto\x1a;\n\x0bUpdateEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1b\n\x05value\x18\x02 \x01(\x0b\x32\x0c.types.Value:\x02\x38\x01\x42\x08\n\x06_graph\"\\\n\x06Resume\x12\x1d\n\x05value\x18\x01 \x01(\x0b\x32\x0c.types.ValueH\x00\x12(\n\x06values\x18\x02 \x01(\x0b\x32\x16.types.InterruptValuesH\x00\x42\t\n\x07message\"\x82\x01\n\x0fInterruptValues\x12\x32\n\x06values\x18\x01 \x03(\x0b\x32\".types.InterruptValues.ValuesEntry\x1a;\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1b\n\x05value\x18\x02 \x01(\x0b\x32\x0c.types.Value:\x02\x38\x01\"T\n\x04Goto\x12$\n\tnode_name\x18\x01 \x01(\x0b\x32\x0f.types.NodeNameH\x00\x12\x1b\n\x04send\x18\x02 \x01(\x0b\x32\x0b.types.SendH\x00\x42\t\n\x07message\"\x18\n\x08NodeName\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xed\x01\n\rExecutorError\x12\x30\n\x10\x65rror_serialized\x18\x01 \x01(\x0b\x32\x16.types.SerializedValue\x12/\n\x0fgraph_bubble_up\x18\x02 \x01(\x0b\x32\x14.types.GraphBubbleUpH\x00\x12\x30\n\x0fgraph_interrupt\x18\x03 \x01(\x0b\x32\x15.types.GraphInterruptH\x00\x12&\n\nbase_error\x18\x04 \x01(\x0b\x32\x10.types.BaseErrorH\x00\x12\x11\n\ttraceback\x18\x05 \x01(\tB\x0c\n\nerror_type\"\x0f\n\rGraphBubbleUp\"m\n\x0eGraphInterrupt\x12$\n\ninterrupts\x18\x01 \x03(\x0b\x32\x10.types.Interrupt\x12\x35\n\x15interrupts_serialized\x18\x02 \x01(\x0b\x32\x16.types.SerializedValue\"h\n\tBaseError\x12\x12\n\nerror_type\x18\x01 \x01(\t\x12\x15\n\rerror_message\x18\x02 \x01(\t\x12\x30\n\x10\x65rror_serialized\x18\x03 \x01(\x0b\x32\x16.types.SerializedValue\"4\n\tInterrupt\x12\x1b\n\x05value\x18\x01 \x01(\x0b\x32\x0c.types.Value\x12\n\n\x02id\x18\x02 \x01(\t\"5\n\x05Write\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\t\x12\x1b\n\x05value\x18\x02 \x01(\x0b\x32\x0c.types.Value\"M\n\x0cPendingWrite\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0f\n\x07\x63hannel\x18\x02 \x01(\t\x12\x1b\n\x05value\x18\x03 \x01(\x0b\x32\x0c.types.Value\"\x90\x01\n\x0f\x43hannelVersions\x12\x45\n\x10\x63hannel_versions\x18\x01 \x03(\x0b\x32+.types.ChannelVersions.ChannelVersionsEntry\x1a\x36\n\x14\x43hannelVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x02\n\x0eRunnableConfig\x12\x0c\n\x04tags\x18\x01 \x03(\t\x12)\n\x08metadata\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x10\n\x08run_name\x18\x03 \x01(\t\x12\x17\n\x0fmax_concurrency\x18\x04 \x01(\x05\x12\x17\n\x0frecursion_limit\x18\x05 \x01(\x05\x12-\n\x0c\x63onfigurable\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12:\n\x15reserved_configurable\x18\x07 \x01(\x0b\x32\x1b.types.ReservedConfigurable\x12\x0e\n\x06run_id\x18\x08 \x01(\t\"3\n\x07\x43ontext\x12(\n\x07\x63ontext\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xe3\x03\n\x14ReservedConfigurable\x12\x10\n\x08resuming\x18\x01 \x01(\x08\x12\x0f\n\x07task_id\x18\x02 \x01(\t\x12\x14\n\x0c\x64\x65\x64upe_tasks\x18\x03 \x01(\x08\x12\x15\n\rensure_latest\x18\x04 \x01(\x08\x12\x11\n\tthread_id\x18\x05 \x01(\t\x12\x46\n\x0e\x63heckpoint_map\x18\x06 \x03(\x0b\x32..types.ReservedConfigurable.CheckpointMapEntry\x12\x15\n\rcheckpoint_id\x18\x07 \x01(\t\x12\x15\n\rcheckpoint_ns\x18\x08 \x01(\t\x12(\n\x08previous\x18\t \x01(\x0b\x32\x16.types.SerializedValue\x12\x12\n\ndurability\x18\n \x01(\t\x12>\n\nresume_map\x18\x0b \x03(\x0b\x32*.types.ReservedConfigurable.ResumeMapEntry\x1a\x34\n\x12\x43heckpointMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a>\n\x0eResumeMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1b\n\x05value\x18\x02 \x01(\x0b\x32\x0c.types.Value:\x02\x38\x01\"\xe1\x02\n\x04Task\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\x05input\x18\x02 \x03(\x0b\x32\x16.types.Task.InputEntry\x12\x1c\n\x06writes\x18\x03 \x03(\x0b\x32\x0c.types.Write\x12%\n\x06\x63onfig\x18\x04 \x01(\x0b\x32\x15.types.RunnableConfig\x12\x10\n\x08triggers\x18\x05 \x03(\t\x12\n\n\x02id\x18\x06 \x01(\t\x12\x11\n\ttask_path\x18\x07 \x03(\t\x12\x0f\n\x07writers\x18\x08 \x03(\t\x12\x12\n\ngraph_name\x18\t \x01(\t\x12+\n\x0epending_writes\x18\n \x03(\x0b\x32\x13.types.PendingWrite\x12 \n\x08messages\x18\x0b \x03(\x0b\x32\x0e.types.Message\x1a:\n\nInputEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1b\n\x05value\x18\x02 \x01(\x0b\x32\x0c.types.Value:\x02\x38\x01\"\xc8\x01\n\nPregelTask\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x03(\t\x12$\n\ninterrupts\x18\x04 \x03(\x0b\x32\x10.types.Interrupt\x12&\n\x05state\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\'\n\x06result\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1b\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x0c.types.Value\"\xb4\x03\n\nCheckpoint\x12\t\n\x01v\x18\x01 \x01(\x04\x12\n\n\x02id\x18\x02 \x01(\t\x12<\n\x0e\x63hannel_values\x18\x03 \x03(\x0b\x32$.types.Checkpoint.ChannelValuesEntry\x12@\n\x10\x63hannel_versions\x18\x04 \x03(\x0b\x32&.types.Checkpoint.ChannelVersionsEntry\x12:\n\rversions_seen\x18\x05 \x03(\x0b\x32#.types.Checkpoint.VersionsSeenEntry\x12\n\n\x02ts\x18\x06 \x01(\t\x1a\x42\n\x12\x43hannelValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1b\n\x05value\x18\x02 \x01(\x0b\x32\x0c.types.Value:\x02\x38\x01\x1a\x36\n\x14\x43hannelVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aK\n\x11VersionsSeenEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.types.ChannelVersions:\x02\x38\x01\"\x9b\x01\n\x12\x43heckpointMetadata\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0c\n\x04step\x18\x02 \x01(\x05\x12\x37\n\x07parents\x18\x03 \x03(\x0b\x32&.types.CheckpointMetadata.ParentsEntry\x1a.\n\x0cParentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"m\n\x07Updates\x12%\n\ncheckpoint\x18\x01 \x01(\x0b\x32\x11.types.Checkpoint\x12!\n\x08\x63hannels\x18\x02 \x01(\x0b\x32\x0f.types.Channels\x12\x18\n\x10updated_channels\x18\x03 \x03(\t\"_\n\x0bStreamChunk\x12\n\n\x02ns\x18\x01 \x03(\t\x12\x11\n\x04mode\x18\x02 \x01(\tH\x00\x88\x01\x01\x12(\n\x07payload\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x07\n\x05_mode\"3\n\x07Message\x12(\n\x07payload\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xa2\x02\n\rStateSnapshot\x12\'\n\x06values\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0c\n\x04next\x18\x02 \x03(\t\x12%\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x15.types.RunnableConfig\x12)\n\x08metadata\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\ncreated_at\x18\x05 \x01(\t\x12,\n\rparent_config\x18\x06 \x01(\x0b\x32\x15.types.RunnableConfig\x12 \n\x05tasks\x18\x07 \x03(\x0b\x32\x11.types.PregelTask\x12$\n\ninterrupts\x18\x08 \x03(\x0b\x32\x10.types.InterruptB1Z/github.com/langchain-ai/langgraph-go/runtime/pbb\x06proto3')
|
29
|
+
|
30
|
+
_globals = globals()
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'types_pb2', _globals)
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z/github.com/langchain-ai/langgraph-go/runtime/pb'
|
36
|
+
_globals['_CHANNELS_CHANNELSENTRY']._loaded_options = None
|
37
|
+
_globals['_CHANNELS_CHANNELSENTRY']._serialized_options = b'8\001'
|
38
|
+
_globals['_COMMAND_UPDATEENTRY']._loaded_options = None
|
39
|
+
_globals['_COMMAND_UPDATEENTRY']._serialized_options = b'8\001'
|
40
|
+
_globals['_INTERRUPTVALUES_VALUESENTRY']._loaded_options = None
|
41
|
+
_globals['_INTERRUPTVALUES_VALUESENTRY']._serialized_options = b'8\001'
|
42
|
+
_globals['_CHANNELVERSIONS_CHANNELVERSIONSENTRY']._loaded_options = None
|
43
|
+
_globals['_CHANNELVERSIONS_CHANNELVERSIONSENTRY']._serialized_options = b'8\001'
|
44
|
+
_globals['_RESERVEDCONFIGURABLE_CHECKPOINTMAPENTRY']._loaded_options = None
|
45
|
+
_globals['_RESERVEDCONFIGURABLE_CHECKPOINTMAPENTRY']._serialized_options = b'8\001'
|
46
|
+
_globals['_RESERVEDCONFIGURABLE_RESUMEMAPENTRY']._loaded_options = None
|
47
|
+
_globals['_RESERVEDCONFIGURABLE_RESUMEMAPENTRY']._serialized_options = b'8\001'
|
48
|
+
_globals['_TASK_INPUTENTRY']._loaded_options = None
|
49
|
+
_globals['_TASK_INPUTENTRY']._serialized_options = b'8\001'
|
50
|
+
_globals['_CHECKPOINT_CHANNELVALUESENTRY']._loaded_options = None
|
51
|
+
_globals['_CHECKPOINT_CHANNELVALUESENTRY']._serialized_options = b'8\001'
|
52
|
+
_globals['_CHECKPOINT_CHANNELVERSIONSENTRY']._loaded_options = None
|
53
|
+
_globals['_CHECKPOINT_CHANNELVERSIONSENTRY']._serialized_options = b'8\001'
|
54
|
+
_globals['_CHECKPOINT_VERSIONSSEENENTRY']._loaded_options = None
|
55
|
+
_globals['_CHECKPOINT_VERSIONSSEENENTRY']._serialized_options = b'8\001'
|
56
|
+
_globals['_CHECKPOINTMETADATA_PARENTSENTRY']._loaded_options = None
|
57
|
+
_globals['_CHECKPOINTMETADATA_PARENTSENTRY']._serialized_options = b'8\001'
|
58
|
+
_globals['_VALUE']._serialized_start=53
|
59
|
+
_globals['_VALUE']._serialized_end=349
|
60
|
+
_globals['_MISSING']._serialized_start=351
|
61
|
+
_globals['_MISSING']._serialized_end=360
|
62
|
+
_globals['_SERIALIZEDVALUE']._serialized_start=362
|
63
|
+
_globals['_SERIALIZEDVALUE']._serialized_end=410
|
64
|
+
_globals['_MESSAGEIDS']._serialized_start=412
|
65
|
+
_globals['_MESSAGEIDS']._serialized_end=445
|
66
|
+
_globals['_CHANNELS']._serialized_start=447
|
67
|
+
_globals['_CHANNELS']._serialized_end=571
|
68
|
+
_globals['_CHANNELS_CHANNELSENTRY']._serialized_start=508
|
69
|
+
_globals['_CHANNELS_CHANNELSENTRY']._serialized_end=571
|
70
|
+
_globals['_CHANNEL']._serialized_start=573
|
71
|
+
_globals['_CHANNEL']._serialized_end=686
|
72
|
+
_globals['_SENDS']._serialized_start=688
|
73
|
+
_globals['_SENDS']._serialized_end=723
|
74
|
+
_globals['_SEND']._serialized_start=725
|
75
|
+
_globals['_SEND']._serialized_end=772
|
76
|
+
_globals['_COMMAND']._serialized_start=775
|
77
|
+
_globals['_COMMAND']._serialized_end=978
|
78
|
+
_globals['_COMMAND_UPDATEENTRY']._serialized_start=909
|
79
|
+
_globals['_COMMAND_UPDATEENTRY']._serialized_end=968
|
80
|
+
_globals['_RESUME']._serialized_start=980
|
81
|
+
_globals['_RESUME']._serialized_end=1072
|
82
|
+
_globals['_INTERRUPTVALUES']._serialized_start=1075
|
83
|
+
_globals['_INTERRUPTVALUES']._serialized_end=1205
|
84
|
+
_globals['_INTERRUPTVALUES_VALUESENTRY']._serialized_start=1146
|
85
|
+
_globals['_INTERRUPTVALUES_VALUESENTRY']._serialized_end=1205
|
86
|
+
_globals['_GOTO']._serialized_start=1207
|
87
|
+
_globals['_GOTO']._serialized_end=1291
|
88
|
+
_globals['_NODENAME']._serialized_start=1293
|
89
|
+
_globals['_NODENAME']._serialized_end=1317
|
90
|
+
_globals['_EXECUTORERROR']._serialized_start=1320
|
91
|
+
_globals['_EXECUTORERROR']._serialized_end=1557
|
92
|
+
_globals['_GRAPHBUBBLEUP']._serialized_start=1559
|
93
|
+
_globals['_GRAPHBUBBLEUP']._serialized_end=1574
|
94
|
+
_globals['_GRAPHINTERRUPT']._serialized_start=1576
|
95
|
+
_globals['_GRAPHINTERRUPT']._serialized_end=1685
|
96
|
+
_globals['_BASEERROR']._serialized_start=1687
|
97
|
+
_globals['_BASEERROR']._serialized_end=1791
|
98
|
+
_globals['_INTERRUPT']._serialized_start=1793
|
99
|
+
_globals['_INTERRUPT']._serialized_end=1845
|
100
|
+
_globals['_WRITE']._serialized_start=1847
|
101
|
+
_globals['_WRITE']._serialized_end=1900
|
102
|
+
_globals['_PENDINGWRITE']._serialized_start=1902
|
103
|
+
_globals['_PENDINGWRITE']._serialized_end=1979
|
104
|
+
_globals['_CHANNELVERSIONS']._serialized_start=1982
|
105
|
+
_globals['_CHANNELVERSIONS']._serialized_end=2126
|
106
|
+
_globals['_CHANNELVERSIONS_CHANNELVERSIONSENTRY']._serialized_start=2072
|
107
|
+
_globals['_CHANNELVERSIONS_CHANNELVERSIONSENTRY']._serialized_end=2126
|
108
|
+
_globals['_RUNNABLECONFIG']._serialized_start=2129
|
109
|
+
_globals['_RUNNABLECONFIG']._serialized_end=2393
|
110
|
+
_globals['_CONTEXT']._serialized_start=2395
|
111
|
+
_globals['_CONTEXT']._serialized_end=2446
|
112
|
+
_globals['_RESERVEDCONFIGURABLE']._serialized_start=2449
|
113
|
+
_globals['_RESERVEDCONFIGURABLE']._serialized_end=2932
|
114
|
+
_globals['_RESERVEDCONFIGURABLE_CHECKPOINTMAPENTRY']._serialized_start=2816
|
115
|
+
_globals['_RESERVEDCONFIGURABLE_CHECKPOINTMAPENTRY']._serialized_end=2868
|
116
|
+
_globals['_RESERVEDCONFIGURABLE_RESUMEMAPENTRY']._serialized_start=2870
|
117
|
+
_globals['_RESERVEDCONFIGURABLE_RESUMEMAPENTRY']._serialized_end=2932
|
118
|
+
_globals['_TASK']._serialized_start=2935
|
119
|
+
_globals['_TASK']._serialized_end=3288
|
120
|
+
_globals['_TASK_INPUTENTRY']._serialized_start=3230
|
121
|
+
_globals['_TASK_INPUTENTRY']._serialized_end=3288
|
122
|
+
_globals['_PREGELTASK']._serialized_start=3291
|
123
|
+
_globals['_PREGELTASK']._serialized_end=3491
|
124
|
+
_globals['_CHECKPOINT']._serialized_start=3494
|
125
|
+
_globals['_CHECKPOINT']._serialized_end=3930
|
126
|
+
_globals['_CHECKPOINT_CHANNELVALUESENTRY']._serialized_start=3731
|
127
|
+
_globals['_CHECKPOINT_CHANNELVALUESENTRY']._serialized_end=3797
|
128
|
+
_globals['_CHECKPOINT_CHANNELVERSIONSENTRY']._serialized_start=2072
|
129
|
+
_globals['_CHECKPOINT_CHANNELVERSIONSENTRY']._serialized_end=2126
|
130
|
+
_globals['_CHECKPOINT_VERSIONSSEENENTRY']._serialized_start=3855
|
131
|
+
_globals['_CHECKPOINT_VERSIONSSEENENTRY']._serialized_end=3930
|
132
|
+
_globals['_CHECKPOINTMETADATA']._serialized_start=3933
|
133
|
+
_globals['_CHECKPOINTMETADATA']._serialized_end=4088
|
134
|
+
_globals['_CHECKPOINTMETADATA_PARENTSENTRY']._serialized_start=4042
|
135
|
+
_globals['_CHECKPOINTMETADATA_PARENTSENTRY']._serialized_end=4088
|
136
|
+
_globals['_UPDATES']._serialized_start=4090
|
137
|
+
_globals['_UPDATES']._serialized_end=4199
|
138
|
+
_globals['_STREAMCHUNK']._serialized_start=4201
|
139
|
+
_globals['_STREAMCHUNK']._serialized_end=4296
|
140
|
+
_globals['_MESSAGE']._serialized_start=4298
|
141
|
+
_globals['_MESSAGE']._serialized_end=4349
|
142
|
+
_globals['_STATESNAPSHOT']._serialized_start=4352
|
143
|
+
_globals['_STATESNAPSHOT']._serialized_end=4642
|
144
|
+
# @@protoc_insertion_point(module_scope)
|