def extract_nodes_info(self, name, settings):
        nodes = []
        for host in settings['hosts']:
            if name in host['hostname']:
                nodes.append(host)
        return nodes
dataset/ETHPy150Open trustedanalytics/platform-appstack/env_vars_fetcher/cdh_utilities.py/CdhConfExtractor.extract_nodes_info/original