MCPcopy Index your code
hub / github.com/plotly/dash / _module_name_is_package

Function _module_name_is_package

dash/_pages.py:85–89  ·  view source on GitHub ↗
(module_name)

Source from the content-addressed store, hash-verified

83
84
85def _module_name_is_package(module_name):
86 if module_name not in sys.modules:
87 return False
88 file = sys.modules[module_name].__file__
89 return file and file.endswith("__init__.py")
90
91
92def _path_to_module_name(path):

Callers 1

_infer_module_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…