From 957b1ab2e94ba61700dce5c67520edf3bd092aee Mon Sep 17 00:00:00 2001 From: = Date: Tue, 20 Aug 2024 11:47:09 +0200 Subject: [PATCH] Reformat --- src/price_providers/dune_pricing.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/price_providers/dune_pricing.py b/src/price_providers/dune_pricing.py index 4ce3c87..25d3098 100644 --- a/src/price_providers/dune_pricing.py +++ b/src/price_providers/dune_pricing.py @@ -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]