Skip to main content

aip_sdk.TestPlanReferenceFailure

aip_sdk.TestPlanReferenceFailure(kind: PlanRefKind, ref: str, message: str, source: PlanRefSource = PlanRefSource.PLAN)

One reference in a plan that the platform could not resolve.

Attributes

  • kind PlanRefKind: Which field of the plan is wrong. Group on this to report failures per field rather than parsing message.
  • ref str: The offending name or key.
  • message str: What is wrong, including the valid alternatives where the set is closed.
  • source PlanRefSource: Where the offending value lives — PlanRefSource.PLAN for one your plan wrote, PlanRefSource.PINNED_METRIC_CONFIG for one a stored config the plan pins supplied. kind is the same either way (a config key the metric does not accept is that through either channel), so this is what separates a failure you fix by editing the plan from one you fix by editing or re-pinning the stored config — which message names. PLAN against a platform that predates the field.

aip_sdk.TestPlanReferenceFailure.kind​

aip_sdk.TestPlanReferenceFailure.kind: PlanRefKind

No docstring is defined in the source.

aip_sdk.TestPlanReferenceFailure.message​

aip_sdk.TestPlanReferenceFailure.message: str

No docstring is defined in the source.

aip_sdk.TestPlanReferenceFailure.ref​

aip_sdk.TestPlanReferenceFailure.ref: str

No docstring is defined in the source.

aip_sdk.TestPlanReferenceFailure.source​

aip_sdk.TestPlanReferenceFailure.source: PlanRefSource = PlanRefSource.PLAN

No docstring is defined in the source.