Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ get_module_to_path_map
Function
get_module_to_path_map
mypy/server/update.py:746–747 ·
view source on GitHub ↗
(graph: Graph)
Source
from the content-addressed store, hash-verified
744
745
746
def
get_module_to_path_map(graph: Graph) -> dict[str, str]:
747
return
{module: node.xpath
for
module, node in graph.items()}
748
749
750
def
get_sources(
Callers
2
__init__
Method · 0.85
update_module
Method · 0.85
Calls
1
items
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…