lazy_graph

Contents

lazy_graph#

tierkreis.builder.lazy_graph(name: str | None = None, type_check_sig: Signature | None = None, output_order: list[str] | None = None, debug: bool = True) Callable[[Callable[[...], Output]], LazyGraph][source]#

Decorate a function to build a TierkreisGraph when it is called.

Parameters:
  • name – Optionally name the graph, defaults to None

  • type_check_sig – If a type signature is provided, the graph will be type checked when built, defaults to None

  • output_order – Optional list of output ports, inputs are inferred from function arguments, defaults to None