arcalot / arcaflow-engine

Arcaflow is a highly-portable workflow engine enabling modular and validated pipelines through containerized plugins.
https://arcalot.io/arcaflow/
Apache License 2.0
6 stars 9 forks source link

Add bindConstants() builtin function #178

Closed mfleader closed 1 month ago

mfleader commented 2 months ago

Changes introduced with this PR

Add bindConstants() to the builtin functions.

input.yaml

repeated_inputs:
  a: A
  b: B
items:
- 1
- 2
bindConstants( [1, 2], {a: A, b: B} )
# [ { items: 1, constants: {a: A, b: B} },
#   { items: 2, constants: {a: A, b: B} } ]

By contributing to this repository, I agree to the contribution guidelines.