errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.Union[None, DatasetContent]
: The content of the dataset
row_data
(list[Dict[str, Any]]
): The rows to add to the dataset.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.Dataset
: The updated dataset with the new rows.
limit
(Union[Unset, int]
): The maximum number of datasets to return. Default is 100.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.list[Dataset]
: A list of datasets.
id
or name
must be provided).
Arguments:
id
(str
): The id of the dataset.name
(str
): The name of the dataset.with_content
(bool
): Whether to return the content of the dataset. Default is False.ValueError
: If neither or both id
and name
are provided.name
1: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.name
2: If the request takes longer than Client.timeout.name
3: The dataset.
id
(str
): The id of the dataset.name
(str
): The name of the dataset.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.name
(str
): The name of the dataset.content
(DatasetType
): The content of the dataset.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.Dataset
: The created dataset.
id
or name
must be provided).
Arguments:
id
(str
): The id of the dataset.name
(str
): The name of the dataset.with_content
(bool
): Whether to return the content of the dataset. Default is False.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.name
0: The dataset.
limit
(Union[Unset, int]
): The maximum number of datasets to return. Default is 100.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.list[Dataset]
: A list of datasets.
id
or name
must be provided).
Arguments:
id
(str
): The id of the dataset.name
(str
): The name of the dataset.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.name
(str
): The name of the dataset.content
(DatasetType
): The content of the dataset.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.Dataset
: The created dataset.
dataset_name
(str
): The name of the dataset.dataset_id
(str
): The id of the dataset.HTTPValidationError
: NoneListDatasetVersionResponse
:
version_index
(int
): The version of the dataset.dataset_name
(Optional[str]
): The name of the dataset.dataset_id
(Optional[str]
): The id of the dataset.DatasetContent
: