torchcell.metabolism.enzyme_kinetics.KineticRetrieval

class KineticRetrieval(*, source_url: str, retrieval_method: Literal['oed_api'] = 'oed_api', retrieval_command: str, sha256: str, retrieved_at: datetime, n_records: int, organism: str)[source]

Bases: BaseModel

Provenance for one retrieved OED slice.

The stored artifact plus its sha256 is canonical. source_url and retrieval_command are historical retrieval metadata: on rebuild we run the command and verify the hash, so upstream drift is DETECTED rather than silently followed.

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].