torchcell.paper.ontology_graph.OntologyClass
- class OntologyClass(*, name: str, kind: str, lane: str, module: str, doc: str = '', parent: str | None = None, own_fields: list[~torchcell.paper.ontology_graph.OntologyField] = <factory>, inherited_field_count: int = 0, enum_members: list[str] = <factory>, is_abstract: bool = False)[source]
Bases:
BaseModelA pydantic model or enum in the schema, plus its place in the ontology.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].