Skip to main content

aip_sdk.IncomparableRunsError

aip_sdk.IncomparableRunsError(message: str, *, run_id: str, compare_run_id: str, status_code: int | None = None, body: dict[str, Any] | None = None)

Two trace runs read separately ingested trace data, so their rows cannot be matched (422).

Each ingest creates new trace and span ids, so nothing in one run matches the other. Raised by Run.session(compare_run=...) and by a RunDiff over such a pair. Compare runs scored over the same landed trace version instead. Catching UnprocessableEntityError still catches this.

Attributes

  • run_id: The run whose session was read, or run_a of the diff.
  • compare_run_id: The counterpart the platform refused to pair it with, or run_b.

aip_sdk.IncomparableRunsError.compare_run_id​

aip_sdk.IncomparableRunsError.compare_run_id = compare_run_id

No docstring is defined in the source.

aip_sdk.IncomparableRunsError.run_id​

aip_sdk.IncomparableRunsError.run_id = run_id

No docstring is defined in the source.

Inherited members​

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.IncomparableRunsError.body​

aip_sdk.IncomparableRunsError.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.IncomparableRunsError.correlation_id​

aip_sdk.IncomparableRunsError.correlation_id = current_correlation_id()

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.IncomparableRunsError.request_id​

aip_sdk.IncomparableRunsError.request_id = current_request_id()

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.IncomparableRunsError.status_code​

aip_sdk.IncomparableRunsError.status_code = status_code

No docstring is defined in the source.

Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py

aip_sdk.IncomparableRunsError.validation_errors​

aip_sdk.IncomparableRunsError.validation_errors: list[dict[str, Any]]

RFC 9457 problem+json validation_errors array, or [] when absent.