Skip to content

Commit

Permalink
Changed relitive imports to cdrhook. syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
abodeuis committed Oct 16, 2024
1 parent a2af51d commit 214fb7a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cdrhook/convert.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions cdrhook/retrieve.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 4 additions & 3 deletions cdrhook/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 214fb7a

Please sign in to comment.