File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
stac_fastapi/elasticsearch
stac_fastapi/elasticsearch Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11"""FastAPI application."""
2- from typing import List
3-
42import attr
53
64from stac_fastapi .api .app import StacApi
3129
3230@attr .s
3331class FixedFilterExtension (FilterExtension ):
32+ """FilterExtension class implementation with EsAsyncBaseFiltersClient."""
33+
3434 client = attr .ib (factory = EsAsyncBaseFiltersClient )
3535
3636
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ async def test_app_query_extension_limit_lt0(app_client):
189189async def test_app_query_extension_limit_gt10000 (app_client ):
190190 resp = await app_client .post ("/search" , json = {"limit" : 10001 })
191191 assert resp .status_code == 200
192- assert resp .json ()[' context' ][ ' limit' ] == 10000
192+ assert resp .json ()[" context" ][ " limit" ] == 10000
193193
194194
195195async def test_app_query_extension_limit_10000 (app_client ):
You can’t perform that action at this time.
0 commit comments