Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
bram-vdberg committed Aug 20, 2024
1 parent bdf2a3d commit 957b1ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/price_providers/dune_pricing.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def get_price(self, price_params: dict) -> float | None:
try:
result = dune.run_query(query=query) # type: ignore[attr-defined]
except DuneError as e:
self.logger.warning(f"Unable to run query, Dune returned with error {e}")
self.logger.warning(
f"Unable to run query, Dune returned with error {e}"
)
return None
if result.result.rows:
row = result.result.rows[0]
Expand Down

0 comments on commit 957b1ab

Please sign in to comment.