From 30f36c36e8cba12630000a886b790434846208a3 Mon Sep 17 00:00:00 2001 From: Paolo Sacconier Date: Fri, 14 Apr 2023 18:08:03 +0200 Subject: [PATCH] fix cannot pickle 'coroutine' object" in config deserialization Signed-off-by: Paolo Sacconier --- cli/src/pcluster/config/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/src/pcluster/config/common.py b/cli/src/pcluster/config/common.py index 6080eb6fed..020dcdac82 100644 --- a/cli/src/pcluster/config/common.py +++ b/cli/src/pcluster/config/common.py @@ -237,6 +237,8 @@ def validate( else: self._validation_failures.extend(self._await_async_validators()) result = self._validation_failures + self._validation_futures.clear() + self._validation_failures.clear() return result