importlib Package

importlib Package

Backport of importlib.import_module from 3.x.

galaxy.util.backports.importlib.import_module(name, package=None)[source]

Import a module.

The ‘package’ argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import.