model
Pydantic record for the lesion_calculation cache table (v1).
Classes
LesionCalculationRecord
class LesionCalculationRecord(**data: Any):Record of a single row from the lesion_calculation table.
Exactly one of metrics_json (successful calculation) or error
(missing-data reason or calculation_error:...) is populated for a row.
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
error : str | None
- static
file_id : str
- static
last_accessed_at : datetime.datetime | None
- static
metrics_json : dict[str, typing.Any] | None
- static
model_config
- static
processed_at : datetime.datetime
- static
project_id : str | None
- static
run_id : str | None
- static
tags : dict[str, typing.Any] | None
- static
task_hash : str