def METHOD_NAME(self, pipeline_parameters):
    """Convert from pipeline parameters to a flat list of values."""
    flat_parameter_values = []
    for flat_parameter_name in self._search_space_names:
        component_name, parameter_name = self._parameter_names_map[
            flat_parameter_name
        ]
        if (
            component_name not in pipeline_parameters
            or parameter_name not in pipeline_parameters[component_name]
        ):
            raise TypeError(
                'Pipeline parameters missing required field "{}" for component "{}"'.format(
                    parameter_name,
                    component_name,
                ),
            )
        flat_parameter_values.append(
            pipeline_parameters[component_name][parameter_name],
        )
    return flat_parameter_values