f3dasm_optimize.try_import

try_import()[source]

Create a context manager that can wrap imports of optional packages to defer exceptions.

Parameters:

manager (Extension name for this particular context) –

Return type:

_DeferredImportExceptionContextManager

Returns:

Deferred import context manager.