From 66fc166b966204d47ac438982a3a41137f614c4c Mon Sep 17 00:00:00 2001 From: reivilibre Date: Fri, 17 Mar 2023 13:02:30 +0000 Subject: [PATCH] Make `configure_workers_and_start` script used in Complement tests compatible with older versions of Python. (#15275) --- changelog.d/15275.misc | 1 + docker/configure_workers_and_start.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/15275.misc diff --git a/changelog.d/15275.misc b/changelog.d/15275.misc new file mode 100644 index 0000000000..b222acd72b --- /dev/null +++ b/changelog.d/15275.misc @@ -0,0 +1 @@ +Make `configure_workers_and_start` script used in Complement tests compatible with older versions of Python. \ No newline at end of file diff --git a/docker/configure_workers_and_start.py b/docker/configure_workers_and_start.py index cfb16c2e22..376f9ed635 100755 --- a/docker/configure_workers_and_start.py +++ b/docker/configure_workers_and_start.py @@ -422,7 +422,7 @@ def add_worker_roles_to_shared_config( def merge_worker_template_configs( - existing_dict: Dict[str, Any] | None, + existing_dict: Optional[Dict[str, Any]], to_be_merged_dict: Dict[str, Any], ) -> Dict[str, Any]: """When given an existing dict of worker template configuration consisting with both