From 3cac6ea54572214d40234042f59de85618b0c131 Mon Sep 17 00:00:00 2001 From: Nomura Date: Mon, 2 Oct 2023 15:28:58 +0200 Subject: Add env kwarg in generator.process() --- docs/yaml/objects/generator.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/yaml/objects') diff --git a/docs/yaml/objects/generator.yaml b/docs/yaml/objects/generator.yaml index e7b866acc..fbef95fa4 100644 --- a/docs/yaml/objects/generator.yaml +++ b/docs/yaml/objects/generator.yaml @@ -34,3 +34,12 @@ methods: `subdir/one.input` is processed it generates a file `{target private directory}/subdir/one.out` as opposed to `{target private directory}/one.out`. + + env: + type: env | list[str] | dict[str] + since: 1.3.0 + description: | + environment variables to set, such as + `{'NAME1': 'value1', 'NAME2': 'value2'}` or `['NAME1=value1', 'NAME2=value2']`, + or an [[@env]] object which allows more + sophisticated environment juggling. -- cgit v1.2.3