torchcell.knowledge_graphs.head_ontology.HeadOntologyMirror
- class HeadOntologyMirror(*, ontology: str, root_node: str, retrieval_command: str, file: ArtifactRecord)[source]
Bases:
BaseModelProvenance of one mirrored head-ontology file, written beside it as JSON.
fileis the shared per-fileArtifactRecord(the record the literature and raw-data mirrors use); itsretrievalnames the versioned retriever (torchcell.literature.retrieve.direct_url) thatcheck_sourcere-runs.retrieval_commandis the exact shell command that produced the stored bytes.- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].