File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 24
24
TokenPaginationExtension ,
25
25
TransactionExtension ,
26
26
)
27
+ from stac_fastapi .extensions .core .collection_search .request import (
28
+ BaseCollectionSearchGetRequest ,
29
+ )
27
30
from stac_fastapi .extensions .third_party import BulkTransactionExtension
28
31
29
32
from stac_fastapi .pgstac .config import Settings
81
84
items_get_request_model = ItemCollectionUri
82
85
83
86
if any (isinstance (ext , CollectionSearchExtension ) for ext in collection_extensions ):
84
- collections_get_request_model = create_get_request_model (
85
- extensions + collection_extensions
87
+ collections_get_request_model = create_request_model (
88
+ model_name = "CollectionsGetRequest" ,
89
+ base_model = BaseCollectionSearchGetRequest ,
90
+ extensions = extensions ,
91
+ request_type = "GET" ,
86
92
)
87
93
else :
88
94
collections_get_request_model = EmptyRequest
You can’t perform that action at this time.
0 commit comments