graphcat.optional module¶
Helpers for implementing optional functionality.
-
graphcat.optional.
module
(name)[source]¶ Quietly load a module by name, ignoring errors.
Note that dotted names, e.g. pkg.mod will return the top-level package, just like the import statement.
Parameters: name ( str
) – Name of the module to be loaded.Returns: module Return type: loaded module if successful, or None
.