We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa42985 commit cd05179Copy full SHA for cd05179
CHANGES.md
@@ -2,6 +2,10 @@
2
3
## [Unreleased]
4
5
+### Fixed
6
+
7
+- fixed typing of base_model parameter ([#852](https://github.com/stac-utils/stac-fastapi/pull/852))
8
9
## [6.0.0] - 2025-06-19
10
11
### Changed
stac_fastapi/api/stac_fastapi/api/models.py
@@ -29,7 +29,7 @@
29
30
def create_request_model(
31
model_name="SearchGetRequest",
32
- base_model: Union[Type[BaseModel], APIRequest] = BaseSearchGetRequest,
+ base_model: Union[Type[BaseModel], Type[APIRequest]] = BaseSearchGetRequest,
33
extensions: Optional[List[ApiExtension]] = None,
34
mixins: Optional[Union[List[BaseModel], List[APIRequest]]] = None,
35
request_type: Optional[str] = "GET",
0 commit comments