langgraph-executor 0.0.1a4__py3-none-any.whl → 0.0.1a5__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.
@@ -1 +1 @@
1
- __version__ = "0.0.1a4"
1
+ __version__ = "0.0.1a5"
@@ -129,7 +129,7 @@ class LangGraphExecutorServicer(executor_pb2_grpc.LangGraphExecutorServicer):
129
129
  if (resp := self._graph_definition_cache.get(name)) is not None:
130
130
  return resp
131
131
  async with self.get_graph(name, RunnableConfig()) as graph:
132
- graph_definition = extract_graph(graph)
132
+ graph_definition = extract_graph(graph, name=name)
133
133
 
134
134
  resp = executor_pb2.GetGraphResponse(
135
135
  graph_definition=graph_definition,
@@ -117,14 +117,14 @@ def extract_trigger_to_nodes(
117
117
  return trigger_map
118
118
 
119
119
 
120
- def extract_graph(graph: Pregel) -> graph_pb2.GraphDefinition:
120
+ def extract_graph(graph: Pregel, name: str | None = None) -> graph_pb2.GraphDefinition:
121
121
  """Extract graph information from a compiled LangGraph graph.
122
122
 
123
123
  Returns a protobuf message that contains all relevant orchestration information about the graph
124
124
  """
125
125
  # Handle input_channels and output_channels oneof
126
126
  graph_def = graph_pb2.GraphDefinition(
127
- name=str(graph.name),
127
+ name=name or str(graph.name),
128
128
  channels=extract_channels(graph.channels),
129
129
  interrupt_before_nodes=list(graph.interrupt_before_nodes),
130
130
  interrupt_after_nodes=list(graph.interrupt_after_nodes),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langgraph-executor
3
- Version: 0.0.1a4
3
+ Version: 0.0.1a5
4
4
  Summary: LangGraph python RPC server executable by the langgraph-go orchestrator.
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: grpcio>=1.73.1
@@ -1,10 +1,10 @@
1
- langgraph_executor/__init__.py,sha256=uM_3HhsbqJiR7MV8Zx7ur-gqgdixAWQv-HmjMR8c9vY,24
1
+ langgraph_executor/__init__.py,sha256=hnxg6uqHJBODcRxoMFMM27CIubX0_co8v5RtgPUluHE,24
2
2
  langgraph_executor/common.py,sha256=w75Bqbrj5LOtiWoOOdIi45yVB05xYXDAnokwg7MgDQE,13688
3
3
  langgraph_executor/example.py,sha256=TcfxgC9VfpZFliWnuVdJMllCDa8ji7vrSCRWnmdsUA8,900
4
4
  langgraph_executor/execute_task.py,sha256=_m-WyVODhShI29qzkK0DXSPoTY4E_izbuaT7F_fVZVw,7262
5
5
  langgraph_executor/executor.py,sha256=oUg6q8WWjAIwuh2ik76IbCPMKfmegT5ePZsWFnvR4WE,5296
6
- langgraph_executor/executor_base.py,sha256=CP2C59PWi90NA3949rvaB7GPPMwSMh4pfLqY9Vb51JE,19597
7
- langgraph_executor/extract_graph.py,sha256=f7NNeZigRQlTAYg_-mV8eBgQ9q8kuThCDwLjRO6wReQ,6365
6
+ langgraph_executor/executor_base.py,sha256=-7oIHIQOik9c7kjGnDj2ScQdulAgoGhkIw0Ku34Sfu4,19608
7
+ langgraph_executor/extract_graph.py,sha256=RnHgIqJBYJ05rjjanpPNSWUaSqJ66c4M0wfcn0WTAGk,6398
8
8
  langgraph_executor/info_logger.py,sha256=kgoVnMxm_aloHal89NHfH_Qb9eixrqD0dHmgnrm_vL4,3110
9
9
  langgraph_executor/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  langgraph_executor/server.py,sha256=EVwZjsO2S0qhhU9C_4e85gfrxyOCo3H72bBi28vSFIw,5134
@@ -27,6 +27,6 @@ langgraph_executor/pb/types_pb2.py,sha256=rUboWBthlLM-iJOmZZta-HSekwTNFuXfWLaYHe
27
27
  langgraph_executor/pb/types_pb2.pyi,sha256=tBX4LzmfWZ-IYscIeAEBTDC02GWWKEAQVB2JPNHChDc,40957
28
28
  langgraph_executor/pb/types_pb2_grpc.py,sha256=EPv87wCc-6BNJ2xTNcb9d3ictDerK5cBt7qhd7EmJiQ,886
29
29
  langgraph_executor/pb/types_pb2_grpc.pyi,sha256=Dl8kkjhqb6F1Kt24mcFg7ppish4iKVfjRiiBxEjsMMA,413
30
- langgraph_executor-0.0.1a4.dist-info/METADATA,sha256=5Ng1JslMYube7c36AvUoXtoWVj5iBeUbv0g7qdTuddY,433
31
- langgraph_executor-0.0.1a4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
32
- langgraph_executor-0.0.1a4.dist-info/RECORD,,
30
+ langgraph_executor-0.0.1a5.dist-info/METADATA,sha256=tYs_bT3h2J-eEmU5yewVpNhIei9cWhztP6e_iR70QmY,433
31
+ langgraph_executor-0.0.1a5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
32
+ langgraph_executor-0.0.1a5.dist-info/RECORD,,