MCPcopy Index your code
hub / github.com/tirth8205/code-review-graph / update_node_signature

Method update_node_signature

code_review_graph/graph.py:1018–1025  ·  view source on GitHub ↗

Set the ``signature`` column for a single node.

(
        self, node_id: int, signature: str,
    )

Source from the content-addressed store, hash-verified

1016 ).fetchall()
1017
1018 def update_node_signature(
1019 self, node_id: int, signature: str,
1020 ) -> None:
1021 """Set the ``signature`` column for a single node."""
1022 self._conn.execute(
1023 "UPDATE nodes SET signature = ? WHERE id = ?",
1024 (signature, node_id),
1025 )
1026
1027 def get_all_community_ids(self) -> dict[str, int | None]:
1028 """Return a mapping of *all* qualified names to their community_id.

Callers 3

_compute_signaturesFunction · 0.80
_run_postprocessFunction · 0.80
run_postprocessFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected