aip_sdk.DatasetInUseError
aip_sdk.DatasetInUseError(message: str, *, blocking_runs: list[str] | None = None, dependent_datasets: list[str] | None = None, status_code: int | None = None, body: dict[str, Any] | None = None)
A dataset cannot be deleted while something still depends on it (409 Conflict).
Raised when evaluation runs reference one of the dataset's versions, or when another dataset was derived from it. The response body names the blockers.
Attributes
blocking_runs: Ids of runs that reference a version of the dataset.dependent_datasets: Ids of datasets derived from this one.
aip_sdk.DatasetInUseError.blocking_runs
aip_sdk.DatasetInUseError.blocking_runs = blocking_runs or []
No docstring is defined in the source.
aip_sdk.DatasetInUseError.dependent_datasets
aip_sdk.DatasetInUseError.dependent_datasets = dependent_datasets or []
No docstring is defined in the source.
Inherited members
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.DatasetInUseError.body
aip_sdk.DatasetInUseError.body: dict[str, Any] = body or {}
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.DatasetInUseError.correlation_id
aip_sdk.DatasetInUseError.correlation_id = current_correlation_id()
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.DatasetInUseError.request_id
aip_sdk.DatasetInUseError.request_id = current_request_id()
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.DatasetInUseError.status_code
aip_sdk.DatasetInUseError.status_code = status_code
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.DatasetInUseError.validation_errors
aip_sdk.DatasetInUseError.validation_errors: list[dict[str, Any]]
RFC 9457 problem+json validation_errors array, or [] when absent.