def get_feature_times_target_prediction(
        target_series: TimeSeries, lags: Sequence[int]
    ):
        """
        Helper function that returns all the times within `target_series` that can be used to
        create features for prediction.

        Since we don't need to worry about creating labels for prediction data, the process
        of constructing prediction features using the `target_series` is identical to
        constructing features for the `past_covariates` series.
        """
        return TestGetFeatureTimes.get_feature_times_past(target_series, lags)

        Helper function that returns all the times within `target_series` that can be used to
        create features for prediction.

        Since we don't need to worry about creating labels for prediction data, the process
        of constructing prediction features using the `target_series` is identical to
        constructing features for the `past_covariates` series.
        
darts/tests/utils/tabularization/test_get_feature_times.py