From e121d35009b6b91112c1ba1a007edcce2e18d7d7 Mon Sep 17 00:00:00 2001 From: pbrogan12 Date: Wed, 3 Apr 2024 23:25:39 -0400 Subject: [PATCH] fix databricks job request serialization (#2286) Signed-off-by: Patrick Brogan --- flytekit/models/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flytekit/models/task.py b/flytekit/models/task.py index 198adf2859..5072f03757 100644 --- a/flytekit/models/task.py +++ b/flytekit/models/task.py @@ -939,7 +939,7 @@ def from_flyte_idl(cls, pb2_object): return cls( image=pb2_object.image, command=pb2_object.command, - args=pb2_object.args, + args=[arg for arg in pb2_object.args], resources=Resources.from_flyte_idl(pb2_object.resources), env={kv.key: kv.value for kv in pb2_object.env}, config={kv.key: kv.value for kv in pb2_object.config},