From 1669e3528e050ee73b446a5b83aa78676e19b0c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=8F=84=EC=A4=80=ED=98=81?= Date: Wed, 8 Jan 2025 18:40:48 +0900 Subject: [PATCH] bug fixed with delete_delay_duration. not Duration class but str only for Go struct json Unmarshal. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 도준혁 --- src/hera/workflows/models/io/argoproj/workflow/v1alpha1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hera/workflows/models/io/argoproj/workflow/v1alpha1.py b/src/hera/workflows/models/io/argoproj/workflow/v1alpha1.py index ed9dbac4d..e64f1c21b 100644 --- a/src/hera/workflows/models/io/argoproj/workflow/v1alpha1.py +++ b/src/hera/workflows/models/io/argoproj/workflow/v1alpha1.py @@ -2627,7 +2627,7 @@ class NodeStatus(BaseModel): class PodGC(BaseModel): delete_delay_duration: Annotated[ - Optional[v1_1.Duration], + Optional[str], Field( alias="deleteDelayDuration", description=("DeleteDelayDuration specifies the duration before pods in the GC queue" " get deleted."),