RecipeContext
RecipeContext
Section titled “RecipeContext”Kind: class
Source: src/graphrefly/_facade.py:136
Signature
Section titled “Signature”RecipeContext(graph: Graph, name: str, make: Callable[[str, object, str], tuple[NodeCallback, SetupCallback | None]])Description
Section titled “Description”What a recipe factory gets besides its config: the graph being restored, the
node’s name, and make(ref, config, name), which builds another registered recipe
and returns its (callback, setup) (R-checkpoint).
Attributes
Section titled “Attributes”| Name | Type | Description |
|---|---|---|
graph | Graph | |
name | str | |
make | `Callable[[str, object, str], tuple[NodeCallback, SetupCallback | None]]` |