Use imported constant for namespace end

This commit is contained in:
jacoblee93
2024-09-19 15:07:30 -07:00
parent 0cf1a13dab
commit 093af1a893
+2 -1
View File
@@ -30,6 +30,7 @@ from langgraph.constants import (
INTERRUPT,
NO_WRITES,
NS_SEP,
NS_END,
PULL,
PUSH,
RESERVED,
@@ -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,