Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Wellbore
Wellbore Domain Services
Commits
c088680b
Commit
c088680b
authored
Jul 07, 2021
by
fabian serin
Browse files
Change name of the method
parent
811529c4
Pipeline
#50676
failed with stages
in 3 minutes and 49 seconds
Changes
1
Pipelines
4
Show whitespace changes
Inline
Side-by-side
app/wdms_app.py
View file @
c088680b
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment