torchcell.paper.ontology_graph.OntologyField

class OntologyField(*, name: str, type_label: str, required: bool, inherited: bool, description: str = '', references: list[str] = <factory>)[source]

Bases: BaseModel

One pydantic field on a class, as it should appear in a diagram row.

model_config: ClassVar[ConfigDict] = {}

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