Skip to main content

model

Pydantic record for the model_inferences cache table (v3).

Classes

ModelInferenceRecord

class ModelInferenceRecord(**data: Any):

Record of a single row from the model_inference table.

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 inferences_json : dict[str, typing.Any] | None
  • static model_config
  • static model_ref : str
  • static model_version : int
  • static project_id : str | None
  • static row_number : int | None
  • static run_id : str | None
  • static source_file_hash : str | None
  • static task_hash : str