From a65d5801f363f70c01bc76c562d9b9e820dc52aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 25 Sep 2019 13:23:16 +0400 Subject: environment: Support taking values from dict Related to #5955. --- docs/markdown/snippets/env_dict.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/markdown/snippets/env_dict.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/env_dict.md b/docs/markdown/snippets/env_dict.md new file mode 100644 index 0000000..5949806 --- /dev/null +++ b/docs/markdown/snippets/env_dict.md @@ -0,0 +1,8 @@ +## Support taking environment values from a dictionary + +`environment()` now accepts a dictionary as first argument. If +provided, each key/value pair is added into the `environment_object` +as if `set()` method was called for each of them. + +On the various functions that take an `env:` keyword argument, you may +now give a dictionary. -- cgit v1.1