Commit 6d56975d authored by Luc Yriarte's avatar Luc Yriarte
Browse files

Fix imports and unit test after moving bulk_v3

parent f3bf3226
Pipeline #47122 passed with stages
in 5 minutes and 25 seconds
......@@ -17,6 +17,7 @@ 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
......@@ -46,7 +47,6 @@ from app.routers.trajectory import trajectory_ddms_v2
from app.routers.dipset import dipset_ddms_v2, dip_ddms_v2
from app.routers.logrecognition import log_recognition
from app.routers.search import search, fast_search
from app.routers.ddms_v3 import bulk_v3
from app.clients import StorageRecordServiceClient, SearchServiceClient
from app.utils import get_http_client_session, OpenApiHandler, get_wdms_temp_dir
......@@ -189,7 +189,7 @@ wdms_app.include_router(
prefix=ALPHA_APIS_PREFIX + DDMS_V3_PATH + welllog_ddms_v3.WELL_LOGS_API_BASE_PATH,
tags=tags, dependencies=dependencies)
wdms_app.include_router(
bulk_v3.router_bulk,
bulk_utils.router_bulk,
prefix=ALPHA_APIS_PREFIX + DDMS_V3_PATH + welllog_ddms_v3.WELL_LOGS_API_BASE_PATH,
tags=tags, dependencies=dependencies)
......@@ -199,7 +199,7 @@ wdms_app.include_router(
prefix=ALPHA_APIS_PREFIX + DDMS_V3_PATH + wellbore_trajectory_ddms_v3.WELLBORE_TRAJECTORIES_API_BASE_PATH,
tags=tags, dependencies=dependencies)
wdms_app.include_router(
bulk_v3.router_bulk,
bulk_utils.router_bulk,
prefix=ALPHA_APIS_PREFIX + DDMS_V3_PATH + wellbore_trajectory_ddms_v3.WELLBORE_TRAJECTORIES_API_BASE_PATH,
tags=tags, dependencies=dependencies)
......
......@@ -4,7 +4,7 @@ from io import BytesIO
from fastapi import HTTPException
from app.model.model_chunking import GetDataParams
from app.routers.ddms_v3.bulk_v3 import DataFrameRender, get_df_from_request
from app.bulk_utils import DataFrameRender, get_df_from_request
import pandas as pd
from pandas.testing import assert_frame_equal
......
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