torchcell.knowledge_graphs.releases.KgRelease
- class KgRelease(*, release: str, version: str, torchcell_commit: str, torchcell_version: str | None = None, torchcell_tag: str | None = None, built_at: str, biocypher_out: str, neo4j_version: str | None = None, n_nodes: int | None = None, datasets: dict[str, ~torchcell.knowledge_graphs.releases.ReleaseDataset], closures: dict[str, dict[str, str]] = <factory>, artifact_refs: dict[str, list[~torchcell.knowledge_graphs.kg_manifest.ArtifactPointer]] | None = None, organisms: list[~typing.Literal['scerevisiae', 'ecoli', 'pputida']] | None = None)[source]
Bases:
BaseModelThe self-description a served store carries as its
KgReleasenode.- to_properties() dict[str, Any][source]
Flat property map for the graph node (maps go in as JSON strings).
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].