Skip to main content

core.Pass

core.Pass(curvature=static(), then=static())

Run curvature over the data, then call then with its result.

Build it with chain, which checks the types.

Parameters

Name Type Description Default
curvature Curvature[Any, Any] The pass’s curvature. static()
then Callable[[Any], Pass[_R_co] | Done[_R_co]] Takes curvature.finalize’s result and returns the next Pass, or Done. static()