From a3b65f5da308131ecf9ac4808d3651d26eea5615 Mon Sep 17 00:00:00 2001 From: Nathan Freeman Date: Wed, 11 Oct 2023 10:31:49 -0500 Subject: [PATCH] bugfix: destructure TapisJobTask props --- src/api/src/backend/views/ETLPipelines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/src/backend/views/ETLPipelines.py b/src/api/src/backend/views/ETLPipelines.py index 80f7c9e2..1674fdc5 100644 --- a/src/api/src/backend/views/ETLPipelines.py +++ b/src/api/src/backend/views/ETLPipelines.py @@ -225,7 +225,7 @@ def post(self, request, group_id, *_, **__): for i, job in enumerate(body.jobs, start=1): task_id = f"etl-job-{i}" tasks.append( - TapisJobTask({ + TapisJobTask(**{ "id": task_id, "type": "tapis_job", "tapis_job_def": job,