def __init__(self, module_plugin_filters=None):
        """
        `module_plugin_filters` are callable filters. Each filter must take
        in a list of plugins and a list of plugin names in the form of:

        ::

            def my_module_plugin_filter(plugins: list, plugin_names: list):
                pass

        `module_plugin_filters` should return a list of the plugins and may
        be either a single object or an iterable.
        """
        if module_plugin_filters is None:
            module_plugin_filters = []
        module_plugin_filters = util.return_list(module_plugin_filters)
        self.loaded_modules = set()
        self.processed_filepaths = dict()
        self.module_plugin_filters = module_plugin_filters
        self._log = logging.getLogger(__name__)
        self._error_string = 'pluginmanager unable to import {}\n'
def __init__ ( self , module_plugin_filters = None ) : if module_plugin_filters is None : module_plugin_filters = [ ] module_plugin_filters = util . return_list ( module_plugin_filters ) self . loaded_modules = set ( ) self . processed_filepaths = dict ( ) self . module_plugin_filters = module_plugin_filters self . _log = logging . getLogger ( __name__ ) self . _error_string = 'pluginmanager unable to import {}\n'
`module_plugin_filters` are callable filters. Each filter must take
        in a list of plugins and a list of plugin names in the form of:

        ::

            def my_module_plugin_filter(plugins: list, plugin_names: list):
                pass

        `module_plugin_filters` should return a list of the plugins and may
        be either a single object or an iterable.