Skip to content

Commit

Permalink
Use imported constant for namespace end
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Sep 19, 2024
1 parent 0cf1a13 commit 093af1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/langgraph/langgraph/pregel/algo.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
INTERRUPT,
NO_WRITES,
NS_SEP,
NS_END,
PULL,
PUSH,
RESERVED,
Expand Down Expand Up @@ -471,7 +472,7 @@ def prepare_single_task(
PULL,
*triggers,
)
task_checkpoint_ns = f"{checkpoint_ns}:{task_id}"
task_checkpoint_ns = f"{checkpoint_ns}{NS_END}{task_id}"
metadata = {
"langgraph_step": step,
"langgraph_node": name,
Expand Down

0 comments on commit 093af1a

Please sign in to comment.