model
Pydantic record for the schema_versions cache table (v1).
Classes
SchemaVersionRecord
class SchemaVersionRecord(**data: Any):Stored schema version record.
Attributes
prefect_task_hash: Unique hash identifying the pipeline task.pipeline_version: Semantic version string of the pipeline that created this record.schema_data: Full pipeline schema snapshot. Renamed fromschema_jsonto avoid a Pydantic v2 namespace conflict.created_at: When this schema version record was first written.tags: Arbitrary flat metadata.run_id: UUID of the run that produced this record (for provenance).
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Variables
- static
created_at : datetime.datetime
- static
model_config
- static
pipeline_version : str
- static
prefect_task_hash : str
- static
run_id : str | None
- static
schema_data : dict[str, typing.Any]
- static
tags : dict[str, typing.Any] | None