Skip to content

Commit

Permalink
use standard list type
Browse files Browse the repository at this point in the history
  • Loading branch information
fhenneke committed Oct 4, 2024
1 parent 0cbdc3a commit b92c7b0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/price_providers/price_feed.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from typing import List
from src.price_providers.coingecko_pricing import CoingeckoPriceProvider
from src.price_providers.dune_pricing import DunePriceProvider
from src.price_providers.moralis_pricing import MoralisPriceProvider
Expand All @@ -19,7 +18,7 @@ def __init__(self, activate: bool):
else:
self.providers = []

def get_price(self, price_params: dict) -> List[tuple[float, str]]:
def get_price(self, price_params: dict) -> list[tuple[float, str]]:
"""Function iterates over list of price provider objects and attempts to get a price."""
prices = []
for provider in self.providers:
Expand Down

0 comments on commit b92c7b0

Please sign in to comment.