Skip to content
PACKAGES

RestoreContext

Kind: class

Source: src/graphrefly/_facade.py:311

Descriptor construction context with no raw Node/Ctx/native handles.

NameTypeDescription
idstrReturn the checkpoint node id being restored.
name`strNone`
depslist[str]Return dependency ids recorded for the checkpoint node.
config`objectNone`
config_version`objectNone`
checkpointGraphCheckpointReturn the full loaded graph checkpoint material.
register_state() -> None

Register the checkpoint node as a restored state node.

Source: src/graphrefly/_facade.py:344

register_node(callback: Callable[[Ctx], object], factory: str | None = None) -> None

Register the checkpoint node as a restored callback node.

Source: src/graphrefly/_facade.py:348