def get_config(self, plugin):

        if plugin not in self.plugins:
            raise ConfigNotFoundError("Couldn't find requested plugin config")

        if self.plugins[plugin]['config'] is None:
            raise ConfigNotFoundError("Couldn't find requested plugin config")

        return self.plugins[plugin]['config']
Returns a loaded config for given plugin.
dataset/ETHPy150Open JohnMaguire/Cardinal/cardinal/plugins.py/PluginManager.get_config