aip_sdk.list_partitions
aip_sdk.list_partitions(dataset_id: str, version_id: str, *, client: APIClient | None = None) -> list[Partition]
List the partitions defined on a dataset version.
Parameters
dataset_idstr: Dataset ID.version_idstr: Dataset version ID.clientAPIClient | None: Optional API client.
Returns
list[Partition]: The version's partitions, oldest first.
Raises
AuthError: If credentials are missing or invalid.NotFoundError: If the dataset version does not exist.ResponseParseError: If the platform's response does not match this SDK version.