aip_sdk.TraceGroundTruthVersion
aip_sdk.TraceGroundTruthVersion
The version derived by attaching ground truth to a landed trace version.
dataset_version_id is a new version and the base is left untouched, and a migrated
evaluation target gets a new ID — so scope everything downstream to
dataset_version_id and migrated_partitions[].partition_id.
aip_sdk.TraceGroundTruthVersion.base_dataset_version_id
aip_sdk.TraceGroundTruthVersion.base_dataset_version_id: str
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.created_at
aip_sdk.TraceGroundTruthVersion.created_at: datetime | None = None
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.dataset_id
aip_sdk.TraceGroundTruthVersion.dataset_id: str
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.dataset_version_id
aip_sdk.TraceGroundTruthVersion.dataset_version_id: str
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.ground_truth_columns
aip_sdk.TraceGroundTruthVersion.ground_truth_columns: list[str] = Field(default_factory=list[str])
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.ground_truth_path
aip_sdk.TraceGroundTruthVersion.ground_truth_path: str | None = None
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.ground_truth_row_count
aip_sdk.TraceGroundTruthVersion.ground_truth_row_count: int
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.migrated_id
aip_sdk.TraceGroundTruthVersion.migrated_id(partition_id: str) -> str
The id partition_id (from the base version) now has on this derived version.
Replaces inverting migrated_partitions into a lookup dict by hand for the
common case of resolving one specific partition you already hold a reference to.
Parameters
partition_idstr: A partition id from the versionbase_dataset_version_idcarried, to resolve onto this derived version.
Returns
str: The migrated id, ready to use ondataset_version_id.
Raises
NotFoundError: Ifpartition_iddid not follow onto this version — either it was never one of the base's partitions, or it hit a name collision (the reason is included in the message).
aip_sdk.TraceGroundTruthVersion.migrated_partitions
aip_sdk.TraceGroundTruthVersion.migrated_partitions: list[PartitionMigrationOutcome] = Field(default_factory=list[PartitionMigrationOutcome])
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.model_config
aip_sdk.TraceGroundTruthVersion.model_config = ConfigDict(extra='allow')
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.object_store_path
aip_sdk.TraceGroundTruthVersion.object_store_path: str | None = Field(default=None, validation_alias='minio_path')
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.replayed
aip_sdk.TraceGroundTruthVersion.replayed: bool = False
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.row_count
aip_sdk.TraceGroundTruthVersion.row_count: int | None = None
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.stage
aip_sdk.TraceGroundTruthVersion.stage: str
No docstring is defined in the source.
aip_sdk.TraceGroundTruthVersion.unmigrated_partitions
aip_sdk.TraceGroundTruthVersion.unmigrated_partitions: list[PartitionMigrationOutcome]
The evaluation targets that did not follow the ground truth onto this version.
Empty in the ordinary case; a non-empty list is the only part of
migrated_partitions needing action, and each entry's reason says what.
aip_sdk.TraceGroundTruthVersion.version
aip_sdk.TraceGroundTruthVersion.version: int
No docstring is defined in the source.