Skip to content

Commit

Permalink
debug. use model dump for conditions again
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Nov 29, 2023
1 parent 1d0b354 commit 969c00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/src/backend/services/TaskService.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def create(self, pipeline, request):
code=getattr(request, "code", None),
command=getattr(request, "command", None),
context=context,
conditions=getattr(request, "conditions", []).model_dump(),
conditions=[c.model_dump() for c in getattr(request, "conditions", [])],
data=getattr(request, "data", None),
description=request.description,
destination=destination,
Expand Down

0 comments on commit 969c00b

Please sign in to comment.