docstr: Returns the dataset type of the current dataset.
docstr_tok: ["Returns","the","dataset","type","of","the","current","dataset","."]
code: def dataset_type(self) -> str:
      """Returns the dataset type of the current dataset."""
      dataset = self._get_current_dataset()
      return dataset.type
  
imports: import warnings
  from itertools import chain
  from typing import Iterator, List, Optional, Set
  from lightly.api import utils
  from lightly.openapi_generated.swagger_client.models import CreateEntityResponse, DatasetCreateRequest, DatasetData, DatasetType
  from lightly.openapi_generated.swagger_client.rest import ApiException
label_desc: Use image node_id 1 for calling the _DatasetsMixin obj's underlying member method code with example usage: obj.dataset_type() and returns: dataset