get_datasets#

geodesic.entanglement.dataset.get_datasets(names=[], search=None, project=None, version_datetime=None, deleted=False)[source]#

searchs/returns a list of Datasets from Entanglement based on the user’s query

Parameters:
  • names (List | str) – an optional list of dataset IDs to return

  • search (str | None) – a search string to use to search for datasets who’s name/description match

  • project – the name of the project to search datasets. Defaults to the active project

  • version_datetime (str | datetime | None) – the point in time to search the graph - will return older versions of datasets given a version_datetime.

  • deleted (bool) – if True, will return datasets that have been soft deleted. This allows you to recover datasets that have been deleted by calling save() on them again.

Returns:

a DatasetList of matching Datasets.

Return type:

DatasetList