Skip to content

Commit eb80c82

Browse files
authored
Update stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py
1 parent fb4988d commit eb80c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ async def execute_search(
215215
es_response = await search_task
216216

217217
hits = es_response["hits"]["hits"]
218-
items = [hit["_source"] for hit in hits]
218+
items = (hit["_source"] for hit in hits)
219219

220220
next_token = None
221221
if hits and (sort_array := hits[-1].get("sort")):

0 commit comments

Comments
 (0)