Skip to content

Commit

Permalink
Need to await async methods...
Browse files Browse the repository at this point in the history
  • Loading branch information
rwiker committed Dec 4, 2023
1 parent dfcebd8 commit 8fe6dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fmu/sumo/explorer/objects/_document_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ async def _next_batch_async(self) -> List[Dict]:
data = res.json()
hits = data["hits"]

self._postprocess_batch_async(hits["hits"], pit)
await self._postprocess_batch_async(hits["hits"], pit)

if self._pit is not None:
self._new_pit_id = data["pit_id"]
Expand Down

0 comments on commit 8fe6dc6

Please sign in to comment.