Skip to content

Commit d077472

Browse files
remove taskresult
1 parent 327c8f1 commit d077472

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

services/storage/src/simcore_service_storage/api/rpc/_data_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def start_data_export(
5252
) from err
5353

5454
task_uuid = await get_celery_client(app).send_task(
55-
"export_data",
55+
"export_data_with_error",
5656
task_context=job_id_data.model_dump(),
5757
files=data_export_start.file_and_folder_ids, # ANE: adapt here your signature
5858
)

services/storage/src/simcore_service_storage/modules/celery/models.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,3 @@ def _check_consistency(self) -> Self:
5555
class TaskError(BaseModel):
5656
exc_type: str
5757
exc_msg: str
58-
59-
60-
TaskResult: TypeAlias = Annotated[
61-
TaskError | Any, Field(union_mode="left_to_right")
62-
]

0 commit comments

Comments
 (0)