Skip to main content

aip_sdk.PartitionSelector

aip_sdk.PartitionSelector

A re-resolvable selector naming a typed evaluation target.

target optionally narrows a SPAN partition to one component — omitted, every span is its own occurrence — and must be omitted for TRACE/SESSION partitions. ancestry_path further disambiguates a span match by its nearest ancestors. The consistency of these fields with partition_type is checked when the selector is used to create a partition.

aip_sdk.PartitionSelector.ancestry_path​

aip_sdk.PartitionSelector.ancestry_path: tuple[EntitySelector, ...] = ()

No docstring is defined in the source.

aip_sdk.PartitionSelector.model_config​

aip_sdk.PartitionSelector.model_config = ConfigDict(frozen=True)

No docstring is defined in the source.

aip_sdk.PartitionSelector.partition_type​

aip_sdk.PartitionSelector.partition_type: PartitionType

No docstring is defined in the source.

aip_sdk.PartitionSelector.target​

aip_sdk.PartitionSelector.target: EntitySelector | None = None

No docstring is defined in the source.