aip_sdk.MetricConfigReferencedByRunsError
aip_sdk.MetricConfigReferencedByRunsError
A run has already pinned this metric config version (409 Conflict).
Raised by both MetricConfig.update() (editing in place would retroactively
change what that run reports it was scored with) and MetricConfig.delete()
(removing the row would erase that run's only record of what scored it) — a used
config is frozen against both. The message names the referencing runs (up to a
server-side cap).
aip_sdk.MetricConfigReferencedByRunsError.usage_count
aip_sdk.MetricConfigReferencedByRunsError.usage_count: int | None
How many runs reference this config, if the server reported it.
Populated on the delete() refusal — the same count :attr:`MetricConfigSummary
.usage_count/:attr:MetricConfig.usage_count` would show for this row. Not
populated on the update() refusal, which does not carry this field.
Inherited members
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.MetricConfigReferencedByRunsError.body
aip_sdk.MetricConfigReferencedByRunsError.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.MetricConfigReferencedByRunsError.correlation_id
aip_sdk.MetricConfigReferencedByRunsError.correlation_id = current_correlation_id()
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.MetricConfigReferencedByRunsError.request_id
aip_sdk.MetricConfigReferencedByRunsError.request_id = current_request_id()
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.MetricConfigReferencedByRunsError.status_code
aip_sdk.MetricConfigReferencedByRunsError.status_code = status_code
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.MetricConfigReferencedByRunsError.validation_errors
aip_sdk.MetricConfigReferencedByRunsError.validation_errors: list[dict[str, Any]]
RFC 9457 problem+json validation_errors array, or [] when absent.