MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _print_nodes

Function _print_nodes

agents/wiki-agent/main.py:31–39  ·  view source on GitHub ↗
(nodes: List[Dict[str, Any]])

Source from the content-addressed store, hash-verified

29
30
31def _print_nodes(nodes: List[Dict[str, Any]]) -> None:
32 if not nodes:
33 print("No wiki nodes found.")
34 return
35 for node in nodes:
36 updated = str(node.get("updated_at") or "")[:19]
37 keywords = str(node.get("keywords") or "").strip()
38 suffix = f" | {keywords}" if keywords else ""
39 print(f"{updated} [{node['node_type']}] {node['node_id']} {node['title']}{suffix}")
40
41
42def _cmd_init(_args: argparse.Namespace) -> int:

Callers 2

_cmd_listFunction · 0.85
_cmd_searchFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected