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 1
1
"""FastAPI application."""
2
- from typing import List
3
-
4
2
import attr
5
3
6
4
from stac_fastapi .api .app import StacApi
31
29
32
30
@attr .s
33
31
class FixedFilterExtension (FilterExtension ):
32
+ """FilterExtension class implementation with EsAsyncBaseFiltersClient."""
33
+
34
34
client = attr .ib (factory = EsAsyncBaseFiltersClient )
35
35
36
36
Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ async def test_app_query_extension_limit_lt0(app_client):
189
189
async def test_app_query_extension_limit_gt10000 (app_client ):
190
190
resp = await app_client .post ("/search" , json = {"limit" : 10001 })
191
191
assert resp .status_code == 200
192
- assert resp .json ()[' context' ][ ' limit' ] == 10000
192
+ assert resp .json ()[" context" ][ " limit" ] == 10000
193
193
194
194
195
195
async def test_app_query_extension_limit_10000 (app_client ):
You can’t perform that action at this time.
0 commit comments