torchcell.knowledge_graphs.incremental_import.ReferenceAnalysis
- class ReferenceAnalysis(*, node_counts: dict[str, int], edge_counts: dict[str, int], n_node_ids: int, n_external_ids: int, external_ids_sample: list[str] = <factory>, n_edges_between_external: int, edges_between_external_sample: list[list[str]] = <factory>)[source]
Bases:
BaseModelWhat this increment’s relationships point at, split by where the nodes live.
- property has_duplicate_edge_risk: bool
True when a relationship joins two nodes that both already exist.
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].