Commit c088680b authored by fabian serin's avatar fabian serin
Browse files

Change name of the method

parent 811529c4
Pipeline #50676 failed with stages
in 3 minutes and 49 seconds
...@@ -143,7 +143,7 @@ async def shutdown_event(): ...@@ -143,7 +143,7 @@ async def shutdown_event():
await get_http_client_session().close() await get_http_client_session().close()
def fix_duplicated_ids(): def update_operation_ids():
# Ensure all operation_id are uniques # Ensure all operation_id are uniques
from fastapi.routing import APIRoute from fastapi.routing import APIRoute
for route in wdms_app.routes: for route in wdms_app.routes:
...@@ -259,7 +259,7 @@ wdms_app.include_router( ...@@ -259,7 +259,7 @@ wdms_app.include_router(
tags=tags, dependencies=dependencies) tags=tags, dependencies=dependencies)
#The multiple instanciation of bulk_utils router create some duplicates operation_id #The multiple instanciation of bulk_utils router create some duplicates operation_id
fix_duplicated_ids() update_operation_ids()
# ------------- add alpha feature: ONLY MOUNTED IN DEV AND DA ENVs # ------------- add alpha feature: ONLY MOUNTED IN DEV AND DA ENVs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment