Skip to content

Commit

Permalink
bugfix: destructure TapisJobTask props
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Oct 11, 2023
1 parent 72196c6 commit a3b65f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/src/backend/views/ETLPipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a3b65f5

Please sign in to comment.