torchcell.knowledge_graphs.supported_queries.check.GraphLabels

class GraphLabels(*, node_properties: dict[str, list[str]], relationship_types: list[str])[source]

Bases: BaseModel

Node labels and relationship types a release carries, with node properties.

node_properties[label] is the set of properties every node carrying label has: the class’s own list (plus the implicit ones) for a concrete class, the intersection over its classes for an ancestor-only label.

model_config: ClassVar[ConfigDict] = {}

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