torchcell.knowledge_graphs.kg_manifest.BatchAdmissionReport

class BatchAdmissionReport(*, dataset_classes: list[str], checked_at: str, torchcell_commit: str | None, torchcell_dirty: bool | None, torchcell_version: str | None = None, served_commit: str | None, verdict: Literal['admissible', 'blocked'], reasons: list[str], members: list[AdmissionReport], co_introduced_symbols: dict[str, list[str]], changed_symbol_importers: dict[str, list[str]])[source]

Bases: BaseModel

Verdict on adding SEVERAL datasets to the served store in ONE increment.

Every member carries its own AdmissionReport, checked against the SERVED manifest alone; the batch is admissible only when every one of them is. Two derived views make the batch readable:

  • co_introduced_symbols – a schema symbol that more than one member introduces (novel to the served store). Purely informational: a symbol no served dataset holds cannot make served nodes stale, so members sharing one is additive.

  • changed_symbol_importers – for a symbol that DID change relative to the served manifest, the served datasets that import it. This is the inverse of the members’ stale_served, so a block reads as “served datasets X, Y import Z”.

model_config: ClassVar[ConfigDict] = {}

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