Skip to main content

check_module_available

Function
This function is defined in the profiler module.
Check if a module is available without importing it. Uses importlib.util.find_spec which is fast.

Signature

Parameters

str
required
No description available.

Returns

bool
The result of the operation.

Uses

  • find_spec

Source

View on GitHub

praisonai/profiler.py at line 1176