Skip to main content

model

Pydantic record for the file_metadata cache table (v1).

Classes

FileMetadataRecord

class FileMetadataRecord(**data: Any):

Record of a single row from the file_metadata 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 dataset_identifier : str | None
  • static datasource_type : str | None
  • static extension : str | None
  • static file_hash : str | None
  • static file_path : str
  • static file_size_bytes : int | None
  • static indexed_at : str | None
  • static model_config
  • static row_number : int | None
  • static run_id : str | None
  • static source_path : str | None
  • static task_hash : str