torchcell.paper.ontology_graph.CompositionEdge

class CompositionEdge(*, source: str, target: str, field_name: str, is_collection: bool = False)[source]

Bases: BaseModel

A has-a edge: source.field holds one or more target.

model_config: ClassVar[ConfigDict] = {}

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