MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _obj_name

Function _obj_name

graphify/extractors/sql.py:605–609  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

603 return source[n.start_byte:n.end_byte].decode("utf-8", errors="replace")
604
605 def _obj_name(n) -> str | None:
606 for c in n.children:
607 if c.type == "object_reference":
608 return _read(c)
609 return None
610
611 def _add_node(nid: str, label: str, line: int) -> None:
612 if nid not in seen_ids:

Callers 2

walkFunction · 0.85
_collect_defined_namesFunction · 0.85

Calls 1

_readFunction · 0.70

Tested by

no test coverage detected