Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mcamou committed Jul 29, 2024
1 parent 11878a6 commit 3e5d816
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions example_publisher/providers/hermes.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,5 @@ async def _get_hermes_prices(self):
if ws_task.done():
break
print("Latest prices:")
for symbol, price_feed in self._client.prices_dict.items():
print(f"Symbol: {symbol},"
f" Price: {price_feed['price'].price},"
f" Confidence: {price_feed['price'].conf},"
f" Time: {price_feed['price'].publish_time}")
for symbol, price in self._client.prices_dict.items():
print(f"Symbol: {symbol}, Price: {price.price}, Confidence: {price.conf}, Time: {price.publish_time}")

0 comments on commit 3e5d816

Please sign in to comment.