def add_dataset_entries(
    name: str,
    data: Union[Any, List[Any]],
    api_key: Optional[str] = None,
) -> Dict[str, Union[str, List[int]]]:

source code

Adds data to a dataset, and returns a list of ids and values for each of those, split by those which were already present and those which were newly added.

Arguments:

  • name - The name of the dataset to add the data to.
  • data - The data to add to the user account.
  • api_key - If specified, unify API key to be used. Defaults to the value in the

Returns:

A dict containing the info, and the ids for all entries added, split by those which were added and those which were already present.