Skip to content

Commit 085bcd7

Browse files
authored
Remove str2list converter from BaseSearchGetRequest (#668)
* remove str2list converter * update changelog
1 parent dddd710 commit 085bcd7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
## [Unreleased]
44

5-
### Fixed
5+
### Fixed
66

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

910
## [2.5.2] - 2024-04-19

stac_fastapi/types/stac_fastapi/types/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class BaseSearchGetRequest(APIRequest):
108108
collections: Optional[str] = attr.ib(default=None, converter=str2list)
109109
ids: Optional[str] = attr.ib(default=None, converter=str2list)
110110
bbox: Optional[BBox] = attr.ib(default=None, converter=str2bbox)
111-
intersects: Optional[str] = attr.ib(default=None, converter=str2list)
111+
intersects: Optional[str] = attr.ib(default=None)
112112
datetime: Optional[DateTimeType] = attr.ib(default=None, converter=str_to_interval)
113113
limit: Optional[int] = attr.ib(default=10)
114114

0 commit comments

Comments
 (0)