Skip to content

Commit

Permalink
fix rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hrodmn committed Aug 2, 2024
1 parent 8a1e023 commit 7dca230
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions stac_fastapi/pgstac/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import re
from typing import Any, Dict, List, Optional, Set, Union
from urllib.parse import unquote_plus
from urllib.parse import unquote_plus, urljoin

import attr
import orjson
Expand All @@ -17,11 +17,12 @@
from stac_fastapi.extensions.core.collection_search.request import (
BaseCollectionSearchPostRequest,
)
from stac_fastapi.types.core import AsyncBaseCoreClient
from stac_fastapi.types.core import AsyncBaseCoreClient, Relations
from stac_fastapi.types.errors import InvalidQueryParameter, NotFoundError
from stac_fastapi.types.requests import get_base_url
from stac_fastapi.types.rfc3339 import DateTimeType
from stac_fastapi.types.stac import Collection, Collections, Item, ItemCollection
from stac_pydantic.shared import BBox
from stac_pydantic.shared import BBox, MimeTypes

from stac_fastapi.pgstac.config import Settings
from stac_fastapi.pgstac.models.links import (
Expand Down Expand Up @@ -111,7 +112,7 @@ async def _collection_search_base( # noqa: C901
Returns:
All collections which match the search criteria.
"""

base_url = get_base_url(request)
search_request_json = search_request.model_dump_json(
exclude_none=True, by_alias=True
)
Expand Down

0 comments on commit 7dca230

Please sign in to comment.