MCPcopy Create free account
hub / github.com/NVIDIA/DALI / public_or_allowed

Function public_or_allowed

dali/test/python/test_utils.py:750–751  ·  view source on GitHub ↗
(c_name)

Source from the content-addressed store, hash-verified

748 for c_name, c in inspect.getmembers(cls):
749
750 def public_or_allowed(c_name):
751 return not c_name.startswith("_") or c_name in allowed_private_modules
752
753 if public_or_allowed(c_name) and c_name not in sys.builtin_module_names:
754 res += module_functions(

Callers 1

module_functionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected