mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
feat(automations): static_inputs on triggers + vertical-slice api/services
This commit is contained in:
parent
84d99f19a2
commit
27ab367a13
27 changed files with 915 additions and 356 deletions
|
|
@ -19,7 +19,7 @@ def build_run_context(
|
|||
trigger_type: str | None,
|
||||
started_at: datetime | None,
|
||||
attempt: int,
|
||||
resolved_inputs: Mapping[str, Any],
|
||||
inputs: Mapping[str, Any],
|
||||
step_outputs: Mapping[str, Any],
|
||||
) -> dict[str, Any]:
|
||||
"""Build the ``{run, inputs, steps}`` namespace exposed to every template."""
|
||||
|
|
@ -36,6 +36,6 @@ def build_run_context(
|
|||
"started_at": started_at,
|
||||
"attempt": attempt,
|
||||
},
|
||||
"inputs": dict(resolved_inputs),
|
||||
"inputs": dict(inputs),
|
||||
"steps": dict(step_outputs),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue