Skip to content

Commit

Permalink
Merge pull request #1772 from langchain-ai/jacob/nit
Browse files Browse the repository at this point in the history
fix: Use imported constant for namespace end
  • Loading branch information
nfcampos authored Sep 20, 2024
2 parents b03d9ae + ec1f425 commit bf289db
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 @@ -35,6 +35,7 @@
CONFIG_KEY_TASK_ID,
INTERRUPT,
NO_WRITES,
NS_END,
NS_SEP,
PULL,
PUSH,
Expand Down Expand Up @@ -487,7 +488,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 bf289db

Please sign in to comment.