Skip to content

Commit

Permalink
fix pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
mcamou committed Jul 29, 2024
1 parent 0c1f8e4 commit 5458db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example_publisher/providers/hermes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import asyncio
from typing import List, Optional
from pythclient.hermes import HermesClient
from pythclient.hermes import HermesClient, PriceFeed

from structlog import get_logger

Expand Down Expand Up @@ -41,4 +41,4 @@ async def _get_hermes_prices(self):
break
print("Latest prices:")
for symbol, price in self._client.prices_dict.items():
print(f"Symbol: {symbol}, Price: {price.price}, Confidence: {price.conf}, Time: {price.publish_time}")
print(f"Symbol: {symbol}, Feed ID: {price.feed_id}, Price: {price.price}, Confidence: {price.conf}, Time: {price.publish_time}")

0 comments on commit 5458db7

Please sign in to comment.