def upload_dataset(
    name: str,
    data: List[Any],
    *,
    overwrite: bool = False,
    allow_duplicates: bool = False,
    project: Optional[str] = None,
    api_key: Optional[str] = None,
) -> List[int]:

source code

Upload a dataset to the server.

Arguments:

  • name - Name of the dataset.
  • data - Contents of the dataset.
  • overwrite - Whether to overwrite the dataset if it already exists.
  • allow_duplicates - Whether to allow duplicates in the dataset.
  • project - Name of the project the dataset belongs to.
  • api_key - If specified, unify API key to be used. Defaults to the value in the