Expand description
Workflow templates: {{path}} interpolation with dotted /
JSON-pointer paths and {{path | default}} over the run data (inputs,
run, steps.<id>.output, vars, memory.<key>, item, index,
batch, env), plus CEL: expressions over the same names (feature
cel; a non-CEL build refuses them at validation). Dependency-free.
Rules: a string that is exactly one {{path}} yields the value itself
(typed); any other string interpolates (strings raw, other values as
JSON); objects and arrays render recursively; a missing path with no
default is an error (the step takes its error edge rather than running
with a silently-wrong shape).
Functions§
- lookup
- Look up a dotted or JSON-pointer path in the data.
- referenced_
roots - Every
{{path}}root referenced by a template (steps,vars, …) — for validation / dependency hints. - render
- Render
templateoverdata. - render_
str - Render a string template:
CEL:expression, a lone{{path}}(typed), or interpolation.
Type Aliases§
- Data
- The named inputs of a render: the root names a template may reference, mapped to their values. A name absent from this map is a missing path, so what the caller puts here is exactly the vocabulary a template may use.