Skip to content

Commit

Permalink
Remove str2list converter from BaseSearchGetRequest (#668)
Browse files Browse the repository at this point in the history
* remove str2list converter

* update changelog
  • Loading branch information
jonhealy1 authored Apr 22, 2024
1 parent dddd710 commit 085bcd7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

## [Unreleased]

### Fixed
### Fixed

* Remove the str2list converter from intersection queries via BaseSearchGetRequest ([#668](https://github.com/stac-utils/stac-fastapi/pull/668))
* Apply datetime converter in ItemCollection endpoint model ([#667](https://github.com/stac-utils/stac-fastapi/pull/667))

## [2.5.2] - 2024-04-19
Expand Down
2 changes: 1 addition & 1 deletion stac_fastapi/types/stac_fastapi/types/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class BaseSearchGetRequest(APIRequest):
collections: Optional[str] = attr.ib(default=None, converter=str2list)
ids: Optional[str] = attr.ib(default=None, converter=str2list)
bbox: Optional[BBox] = attr.ib(default=None, converter=str2bbox)
intersects: Optional[str] = attr.ib(default=None, converter=str2list)
intersects: Optional[str] = attr.ib(default=None)
datetime: Optional[DateTimeType] = attr.ib(default=None, converter=str_to_interval)
limit: Optional[int] = attr.ib(default=10)

Expand Down

0 comments on commit 085bcd7

Please sign in to comment.