docstr: Returns a read-url for .lightly/predictions/{filename}.
  
  Args:
      filename:
          Filename for which to get the read-url.
  
  Returns:
      A read-url to the file. Note that a URL will be returned even if the file does not
      exist.
  
  :meta private:  # Skip docstring generation
docstr_tok: ["Returns","a","read-url","for",".lightly\/predictions\/","{","filename","}",".","Args",":","filename",":","Filename","for","which","to","get","the","read-url",".","Returns",":","A","read-url","to","the","file",".","Note","that","a","URL","will","be","returned","even","if","the","file","does","not","exist",".",":","meta","private",":","#","Skip","docstring","generation"]
code: def get_prediction_read_url(
      self,
      filename: str,
  ) -> str:
      """Returns a read-url for .lightly/predictions/{filename}.
  
      Args:
          filename:
              Filename for which to get the read-url.
  
      Returns:
          A read-url to the file. Note that a URL will be returned even if the file does not
          exist.
  
      :meta private:  # Skip docstring generation
      """
      return self._datasources_api.get_prediction_file_read_url_from_datasource_by_dataset_id(
          dataset_id=self.dataset_id,
          file_name=filename,
      )
  
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 16 for calling the _DatasourcesMixin obj's underlying member method code with example usage: obj.get_prediction_read_url(filename) and returns: self