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
81af8aeb
Commit
81af8aeb
authored
Jul 08, 2021
by
Luc Yriarte
Browse files
Fix imports in app code after utils move
parent
baa129ac
Pipeline
#50908
failed with stage
in 19 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/routers/bulk_utils.py
View file @
81af8aeb
...
...
@@ -27,7 +27,6 @@ from app.bulk_persistence.bulk_id import BulkId
from
app.bulk_persistence.dask.dask_bulk_storage
import
DaskBulkStorage
from
app.bulk_persistence.dask.errors
import
BulkError
,
BulkNotFound
from
app.clients.storage_service_client
import
get_storage_record_service
from
app.record_utils
import
fetch_record
from
app.bulk_persistence.mime_types
import
MimeTypes
from
app.model.model_chunking
import
GetDataParams
from
app.model.log_bulk
import
LogBulkHelper
...
...
@@ -40,6 +39,7 @@ from app.routers.common_parameters import (
json_orient_parameter
)
from
app.routers.sessions
import
(
SessionInternal
,
UpdateSessionState
,
UpdateSessionStateValue
,
WithSessionStorages
,
get_session_dependencies
)
from
app.routers.record_utils
import
fetch_record
from
app.helper.traces
import
with_trace
router_bulk
=
APIRouter
()
# router dedicated to bulk APIs
...
...
app/routers/ddms_v2/log_ddms_v2.py
View file @
81af8aeb
...
...
@@ -44,8 +44,8 @@ from app.model.model_curated import log
from
app.model.model_utils
import
from_record
,
to_record
from
app.routers.ddms_v2.persistence
import
Persistence
from
app.routers.common_parameters
import
json_orient_parameter
,
REQUIRED_ROLES_READ
,
REQUIRED_ROLES_WRITE
from
app.routers.record_utils
import
fetch_record
,
update_records
from
app.utils
import
Context
,
OpenApiHandler
,
OpenApiResponse
,
get_ctx
,
load_schema_example
from
app.record_utils
import
fetch_record
,
update_records
router
=
APIRouter
()
...
...
app/wdms_app.py
View file @
81af8aeb
...
...
@@ -20,7 +20,6 @@ from fastapi import FastAPI, Depends
from
fastapi.openapi.utils
import
get_openapi
from
app
import
__version__
,
__build_number__
,
__app_name__
from
app
import
bulk_utils
from
app.auth.auth
import
require_opendes_authorized_user
from
app.conf
import
Config
,
check_environment
from
app.errors.exception_handlers
import
add_exception_handlers
...
...
@@ -31,7 +30,7 @@ from app.injector.app_injector import AppInjector
from
app.injector.main_injector
import
MainInjector
from
app.middleware
import
CreateBasicContextMiddleware
,
TracingMiddleware
from
app.middleware.basic_context_middleware
import
require_data_partition_id
from
app.routers
import
probes
,
about
,
sessions
from
app.routers
import
probes
,
about
,
sessions
,
bulk_utils
from
app.routers.ddms_v2
import
(
ddms_v2
,
wellbore_ddms_v2
,
...
...
Write
Preview
Markdown
is supported
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