torchcell.knowledge_graphs.supported_queries.check.GraphLabels
- class GraphLabels(*, node_properties: dict[str, list[str]], relationship_types: list[str])[source]
Bases:
BaseModelNode labels and relationship types a release carries, with node properties.
node_properties[label]is the set of properties every node carryinglabelhas: 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].