docstr: Downloads all prediction filenames and read urls from the datasource.
  
  See `download_raw_predictions_iter` for details.
  
  :meta private:  # Skip docstring generation
docstr_tok: ["Downloads","all","prediction","filenames","and","read","urls","from","the","datasource",".","See","`","download_raw_predictions_iter","`","for","details",".",":","meta","private",":","#","Skip","docstring","generation"]
code: def download_raw_predictions(
      self,
      task_name: str,
      from_: int = 0,
      to: Optional[int] = None,
      relevant_filenames_file_name: Optional[str] = None,
      run_id: Optional[str] = None,
      relevant_filenames_artifact_id: Optional[str] = None,
      use_redirected_read_url: bool = False,
      progress_bar: Optional[tqdm.tqdm] = None,
  ) -> List[Tuple[str, str]]:
      """Downloads all prediction filenames and read urls from the datasource.
  
      See `download_raw_predictions_iter` for details.
  
      :meta private:  # Skip docstring generation
      """
      return list(
          self.download_raw_predictions_iter(
              task_name=task_name,
              from_=from_,
              to=to,
              relevant_filenames_file_name=relevant_filenames_file_name,
              run_id=run_id,
              relevant_filenames_artifact_id=relevant_filenames_artifact_id,
              use_redirected_read_url=use_redirected_read_url,
              progress_bar=progress_bar,
          )
      )
  
imports: import time
  import warnings
  from typing import Dict, Iterator, List, Optional, Set, Tuple, Union
  import tqdm
  from lightly.openapi_generated.swagger_client.models import DatasourceConfig, DatasourceProcessedUntilTimestampRequest, DatasourceProcessedUntilTimestampResponse, DatasourcePurpose, DatasourceRawSamplesData
  from lightly.openapi_generated.swagger_client.models.datasource_raw_samples_data_row import DatasourceRawSamplesDataRow
label_desc: Use image node_id 2 for calling the _DatasourcesMixin obj's underlying member method code with example usage: obj.download_raw_predictions(task_name, from_, to, relevant_filenames_file_name, run_id, relevant_filenames_artifact_id, use_redirected_read_url, progress_bar) and returns: list