diff --git a/cdrhook/convert.py b/cdrhook/convert.py index 6a2828f..75f1c8a 100644 --- a/cdrhook/convert.py +++ b/cdrhook/convert.py @@ -1,5 +1,5 @@ from typing import List -from .cdr_endpoint_schemas import CogMetadataSchema +# from .cdr_endpoint_schemas import CogMetadataSchema from cdr_schemas.cdr_responses.legend_items import LegendItemResponse from cdr_schemas.cdr_responses.area_extractions import AreaExtractionResponse from cmaas_utils.types import Legend, MapUnit, MapUnitType, Layout, CMAAS_MapMetadata, Provenance, AreaBounds diff --git a/cdrhook/retrieve.py b/cdrhook/retrieve.py index 44fb11d..8a623b1 100644 --- a/cdrhook/retrieve.py +++ b/cdrhook/retrieve.py @@ -1,6 +1,6 @@ from typing import List, Literal -from .connector import CdrConnector -from .cdr_endpoint_schemas import SystemId, CogSystemVersionsSchema, CogMetadataSchema, CogDownloadSchema +from cdrhook.connector import CdrConnector +from cdrhook.cdr_endpoint_schemas import SystemId, CogSystemVersionsSchema, CogMetadataSchema, CogDownloadSchema from cdr_schemas.cdr_responses.area_extractions import AreaExtractionResponse from cdr_schemas.cdr_responses.legend_items import LegendItemResponse from cdr_schemas.map_results import MapResults diff --git a/cdrhook/server.py b/cdrhook/server.py index b6f7356..dda850b 100644 --- a/cdrhook/server.py +++ b/cdrhook/server.py @@ -16,12 +16,13 @@ from typing import Optional from concurrent.futures import ThreadPoolExecutor -from .retrieve import retrieve_cog_area_extraction, retrieve_cog_legend_items, retrieve_cog_system_versions, retrieve_cog_download import cmaas_utils.cdr as convert -from .connector import CdrConnector from cmaas_utils.types import CMAAS_Map from cdr_schemas.cdr_responses.area_extractions import AreaType -from .cdr_endpoint_schemas import SystemId + +from cdrhook.retrieve import retrieve_cog_area_extraction, retrieve_cog_legend_items, retrieve_cog_system_versions, retrieve_cog_download +from cdrhook.connector import CdrConnector +from cdrhook.cdr_endpoint_schemas import SystemId auth = HTTPBasicAuth()