def download_dataset(
    name: str,
    path: Optional[str] = None,
    api_key: Optional[str] = None,
) -> Optional[List[Any]]:

source code

Downloads a dataset from the platform.

Arguments:

  • name - Name of the dataset to download.
  • path - If specified, path to save the dataset.
  • api_key - If specified, unify API key to be used. Defaults to the value in the

Returns:

If path is not specified, returns the dataset content, if specified, returns None. Raises: ValueError: If there was an HTTP error.

  • ValueError - If there was an HTTP error.