docstr: Returns all datasets the user has access to.
  
  DEPRECATED in favour of get_datasets(shared=None) and will be removed in the
  future.
docstr_tok: ["Returns","all","datasets","the","user","has","access","to",".","DEPRECATED","in","favour","of","get_datasets","(","shared=None",")","and","will","be","removed","in","the","future","."]
code: def get_all_datasets(self) -> List[DatasetData]:
      """Returns all datasets the user has access to.
  
      DEPRECATED in favour of get_datasets(shared=None) and will be removed in the
      future.
      """
      warnings.warn(
          "get_all_datasets() is deprecated in favour of get_datasets(shared=None) "
          "and will be removed in the future.",
          DeprecationWarning,
      )
      owned_datasets = self.get_datasets(shared=None)
      return owned_datasets
  
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 9 for calling the _DatasetsMixin obj's underlying member method code with example usage: obj.get_all_datasets() and returns: owned_datasets