def METHOD_NAME(self, automl_config, pipeline, X, y):
    """Submit a job to train a pipeline.
    Args:
        automl_config: Structure containing data passed from AutoMLSearch instance.
        pipeline (pipeline.PipelineBase): Pipeline to evaluate.
        X (pd.DataFrame): Input data for modeling.
        y (pd.Series): Target data for modeling.
    Returns:
        SequentialComputation: Computation result.
    """
    return SequentialComputation(
        work=train_pipeline,
        pipeline=pipeline,
        X=X,
        y=y,
        automl_config=automl_config,
        schema=False,
    )