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

Function facts

graphify/extractors/python_scope.py:72–78  ·  view source on GitHub ↗
(scope, body)

Source from the content-addressed store, hash-verified

70 return names
71
72 def facts(scope, body) -> tuple[set[str], set[str]]:
73 if scope.id not in scopes:
74 params = scope.child_by_field_name("parameters")
75 scopes[scope.id] = (
76 _python_param_names(params, source), rebound_names(body),
77 )
78 return scopes[scope.id]
79
80 def is_shadowed(call, name: str) -> bool:
81 node = call

Callers 1

is_shadowedFunction · 0.70

Calls 2

_python_param_namesFunction · 0.85
rebound_namesFunction · 0.85

Tested by

no test coverage detected