Check Module Available • AI Agents Framework
check_module_available: Check if a module is available without importing it.
check_module_available
Function
</div>
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
def check_module_available(module_name: str) -> boolParameters
ParamField
strNo description available.
Returns
ResponseField
boolThe result of the operation.
Uses
find_spec
Source
View on GitHubpraisonai/profiler.py at line 1307