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

Function _get_custom

dash/development/_py_prop_typing.py:19–26  ·  view source on GitHub ↗
(module_name, prop, default)

Source from the content-addressed store, hash-verified

17
18
19def _get_custom(module_name, prop, default):
20 if not module_name:
21 return default
22 try:
23 module = importlib.import_module(module_name)
24 return getattr(module, prop, default)
25 except ImportError:
26 return default
27
28
29def get_custom_imports(module_name):

Callers 3

get_custom_importsFunction · 0.85
get_custom_propsFunction · 0.85
get_custom_ignoreFunction · 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…