(self, row: sqlite3.Row)
| 1301 | return f"{node.file_path}::{node.name}" |
| 1302 | |
| 1303 | def _row_to_node(self, row: sqlite3.Row) -> GraphNode: |
| 1304 | return GraphNode( |
| 1305 | id=row["id"], |
| 1306 | kind=row["kind"], |
| 1307 | name=row["name"], |
| 1308 | qualified_name=row["qualified_name"], |
| 1309 | file_path=row["file_path"], |
| 1310 | line_start=row["line_start"], |
| 1311 | line_end=row["line_end"], |
| 1312 | language=row["language"] or "", |
| 1313 | parent_name=row["parent_name"], |
| 1314 | params=row["params"], |
| 1315 | return_type=row["return_type"], |
| 1316 | is_test=bool(row["is_test"]), |
| 1317 | file_hash=row["file_hash"], |
| 1318 | extra=json.loads(row["extra"]) if row["extra"] else {}, |
| 1319 | ) |
| 1320 | |
| 1321 | def _row_to_edge(self, row: sqlite3.Row) -> GraphEdge: |
| 1322 | extra = json.loads(row["extra"]) if row["extra"] else {} |
no test coverage detected