Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Dec 7, 2022
1 parent bc8d778 commit 304e614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/maggma/api/resource/read_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ async def search(**queries: Dict[str, STORE_PARAMS]) -> Union[Dict, Response]:
)

if self.query_disk_use:
data = list(self.store.query(**query, allow_disk_use=True))
data = list(self.store.query(**query, allow_disk_use=True)) # type: ignore
else:
data = list(self.store.query(**query))

except (NetworkTimeout, PyMongoError) as e:
if e.timeout:
raise HTTPException(
Expand Down

0 comments on commit 304e614

Please sign in to comment.