Compare commits

...

1 Commits

Author SHA1 Message Date
ben8t
0a121c6979 doc(task): improve TemplatedTask example 2025-12-19 14:06:42 +01:00

View File

@@ -32,9 +32,17 @@ import lombok.experimental.SuperBuilder;
examples = { examples = {
@Example( @Example(
code = """ code = """
id: templated_task
namespace: company.team
variables:
property: uri
value: https://kestra.io
tasks:
- id: templated_task
type: io.kestra.plugin.core.templating.TemplatedTask
spec: | spec: |
type: io.kestra.plugin.core.http.Download type: io.kestra.plugin.core.http.Download
{{ task.property }}: {{ task.value }} {{ vars.property }}: {{ vars.value }}
""" """
) )
}, },