def for_component(self, name, defaults=None): return config.component_config_from_pipeline(name, self.get('pipeline', []), defaults)
def for_component(self, index, defaults=None): return component_config_from_pipeline(index, self.get('pipeline', []), defaults)