docstr: Returns the datasource of the current dataset.
  
  Returns:
      Datasource data of the datasource of the current dataset.
  
  Raises:
      ApiException if no datasource was configured.
docstr_tok: ["Returns","the","datasource","of","the","current","dataset",".","Returns",":","Datasource","data","of","the","datasource","of","the","current","dataset",".","Raises",":","ApiException","if","no","datasource","was","configured","."]
code: def get_datasource(self) -> DatasourceConfig:
      """Returns the datasource of the current dataset.
  
      Returns:
          Datasource data of the datasource of the current dataset.
  
      Raises:
          ApiException if no datasource was configured.
  
      """
      return self._datasources_api.get_datasource_by_dataset_id(
          self.dataset_id
      )
  
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 9 for calling the _DatasourcesMixin obj's underlying member method code with example usage: obj.get_datasource() and returns: self