def get_configurators(self, location, function_name):

        config_modules = map(lambda x: getattr(location, x),
                             filter(lambda x: x[0] != '_',
                                    dir(location)))
        configurators = map(lambda x: getattr(x, function_name),
                            filter(lambda y: hasattr(y, function_name),
                                   config_modules))

        return configurators
Get functions to configure given sub-system
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/config/config.py/Configuration.get_configurators