Commit 81af8aeb authored by Luc Yriarte's avatar Luc Yriarte
Browse files

Fix imports in app code after utils move

parent baa129ac
Pipeline #50908 failed with stage
in 19 seconds
......@@ -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
......
......@@ -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()
......
......@@ -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,
......
Markdown is supported
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