File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
services/storage/src/simcore_service_storage Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1+ from fastapi import FastAPI
12from models_library .api_schemas_storage .zipping_tasks import ZipTask
23from servicelib .rabbitmq import RPCRouter
34
45router = RPCRouter ()
56
67
78@router .expose ()
8- async def start_zipping (paths : list [str ]) -> ZipTask :
9+ async def start_zipping (app : FastAPI , paths : list [str ]) -> ZipTask :
910 return ZipTask (msg = "" .join (paths ))
Original file line number Diff line number Diff line change 2525 APP_NAME ,
2626 APP_STARTED_BANNER_MSG ,
2727)
28+ from ..api .rabbitmq_rpc .routes import setup_rpc_api_routes
2829from ..api .rest .routes import setup_rest_api_routes
2930from ..dsm import setup_dsm
3031from ..dsm_cleaner import setup_dsm_cleaner
@@ -79,6 +80,7 @@ def create_app(settings: ApplicationSettings) -> FastAPI:
7980 setup_client_session (app )
8081
8182 setup_rabbitmq (app )
83+ setup_rpc_api_routes (app )
8284 setup_rest_api_long_running_tasks_for_uploads (app )
8385 setup_rest_api_routes (app , API_VTAG )
8486 set_exception_handlers (app )
You can’t perform that action at this time.
0 commit comments