Skip to content

Commit

Permalink
update to zip result
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayzz99 committed Jan 19, 2024
1 parent de4d90d commit f785b63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def __init__(self):
),
],
data_out_fields=[
FieldDescription(name="result", type=[FieldDescriptionType.TEXT_PLAIN]),
FieldDescription(
name="result", type=[FieldDescriptionType.APPLICATION_ZIP]
),
],
tags=[
ExecutionUnitTag(
Expand Down Expand Up @@ -120,7 +122,7 @@ def process(self, data):
)
return {
"result": TaskData(
data=zip_buffer.getvalue(), type=FieldDescriptionType.TEXT_PLAIN
data=zip_buffer.getvalue(), type=FieldDescriptionType.APPLICATION_ZIP
)
}

Expand Down

0 comments on commit f785b63

Please sign in to comment.