Skip to content

Commit 518a61f

Browse files
committed
style(notebook): split multi-line comment string into per-line source array entries
1 parent 1b30c68 commit 518a61f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

demo/notebooks/03_langgraph_agent.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,11 @@
269269
"def find_related(entity_name: str, depth: int = 1) -> str:\n",
270270
" \"\"\"Find all entities reachable from entity_name within the given number of hops (max 3).\"\"\"\n",
271271
" safe_depth = max(1, min(int(depth), 3))\n",
272-
" # Note: session constraint is on both endpoints (n, m). Constraining\n # intermediate nodes via path variables (MATCH p=..., WHERE ALL(x IN nodes(p)...))\n # is not yet supported by CoordiNode — planned for a future release.\n # In practice, session isolation holds because all nodes are MERGE'd with\n # their session scope, so cross-session paths cannot form.\n",
272+
" # Note: session constraint is on both endpoints (n, m). Constraining\n",
273+
" # intermediate nodes via path variables (MATCH p=..., WHERE ALL(x IN nodes(p)...))\n",
274+
" # is not yet supported by CoordiNode — planned for a future release.\n",
275+
" # In practice, session isolation holds because all nodes are MERGE'd with\n",
276+
" # their session scope, so cross-session paths cannot form.\n",
273277
" rows = client.cypher(\n",
274278
" f\"MATCH (n:Entity {{name: $name, session: $sess}})-[*1..{safe_depth}]->(m:Entity {{session: $sess}}) \"\n",
275279
" \"RETURN DISTINCT m.name AS related LIMIT 20\",\n",

0 commit comments

Comments
 (0)