Skip to content

Commit 4a098e1

Browse files
committed
minor correction
1 parent 9f0663c commit 4a098e1

File tree

1 file changed

+4
-2
lines changed
  • services/api-server/src/simcore_service_api_server/services_rpc

1 file changed

+4
-2
lines changed

services/api-server/src/simcore_service_api_server/services_rpc/storage.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from dataclasses import dataclass
22
from functools import partial
33

4+
from models_library.api_schemas_rpc_async_jobs.async_jobs import AsyncJobGet
45
from models_library.api_schemas_webserver.storage import PathToExport
56
from models_library.products import ProductName
67
from models_library.users import UserID
@@ -22,10 +23,11 @@ async def start_data_export(
2223
user_id: UserID,
2324
product_name: ProductName,
2425
paths_to_export: list[PathToExport],
25-
):
26-
return await start_export_data(
26+
) -> AsyncJobGet:
27+
async_job_get, _ = await start_export_data(
2728
self._rpc_client,
2829
user_id=user_id,
2930
product_name=product_name,
3031
paths_to_export=paths_to_export,
3132
)
33+
return async_job_get

0 commit comments

Comments
 (0)