Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Graphify-Labs/graphify
/ _labels
Function
_labels
tests/test_pascal_base_class_resolution.py:28–29 ·
view source on GitHub ↗
(nodes: list[dict])
Source
from the content-addressed store, hash-verified
26
27
28
def
_labels(nodes: list[dict]) -> dict[str, str]:
29
return
{n[
"id"
]: str(n.get(
"label"
,
""
))
for
n in nodes}
30
31
32
def
_nodes_by_label(graph: dict, label: str) -> list[dict]:
Callers
1
_edge
Function · 0.70
Calls
1
get
Method · 0.45
Tested by
no test coverage detected