Skip to content

Commit f30b4e4

Browse files
committed
update core args
1 parent 952a290 commit f30b4e4

File tree

1 file changed

+4
-2
lines changed
  • stac_fastapi/core/stac_fastapi/core

1 file changed

+4
-2
lines changed

stac_fastapi/core/stac_fastapi/core/core.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,17 @@ async def landing_page(self, **kwargs) -> stac_types.LandingPage:
240240

241241
async def all_collections(
242242
self,
243-
datetime: Optional[str] = None,
244243
limit: Optional[int] = None,
244+
bbox: Optional[BBox] = None,
245+
datetime: Optional[str] = None,
245246
fields: Optional[List[str]] = None,
246247
sortby: Optional[Union[str, List[str]]] = None,
247248
filter_expr: Optional[str] = None,
248249
filter_lang: Optional[str] = None,
249250
q: Optional[Union[str, List[str]]] = None,
250251
query: Optional[str] = None,
252+
request: Request = None,
253+
token: Optional[str] = None,
251254
**kwargs,
252255
) -> stac_types.Collections:
253256
"""Read all collections from the database.
@@ -266,7 +269,6 @@ async def all_collections(
266269
Returns:
267270
A Collections object containing all the collections in the database and links to various resources.
268271
"""
269-
request = kwargs["request"]
270272
base_url = str(request.base_url)
271273

272274
# Get the global limit from environment variable

0 commit comments

Comments
 (0)