Skip to main content

aip_sdk.PlanRefSource

aip_sdk.PlanRefSource

Where the value a PlanRefKind failure names actually lives.

kind says which field of the plan is wrong; this says whether the offending value was written in the plan document or came from a stored metric config the plan pins. The two are the same authoring mistake and carry the same kind, but not the same remedy — one is fixed by editing the plan, the other by editing (or re-pinning) the stored config the author may never have looked at.

Added rather than split into new kind values so an older client keeps reading these 422s: an unrecognised kind is a parse failure in the shipped SDK, whereas an unrecognised extra field is simply ignored.

aip_sdk.PlanRefSource.PINNED_METRIC_CONFIG​

aip_sdk.PlanRefSource.PINNED_METRIC_CONFIG = 'pinned_metric_config'

No docstring is defined in the source.

aip_sdk.PlanRefSource.PLAN​

aip_sdk.PlanRefSource.PLAN = 'plan'

No docstring is defined in the source.