fix typos

This commit is contained in:
2025-11-02 00:03:53 +01:00
parent 30ddb76df7
commit 15b279faa1
2 changed files with 1 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ class ProductInfo(BaseModel):
products (dict[str, list[ProductInfo]]): Map provider -> list of ProductInfo
filter_currency (str): If set, only products with this currency are considered. Defaults to "USD".
Returns:
dict[ProductInfo, str]: Map of aggregated ProductInfo by symbol
list[ProductInfo]: List of ProductInfo aggregated by symbol
"""
# Costruzione mappa id -> lista di ProductInfo + lista di provider

View File

@@ -33,7 +33,6 @@ class TestMarketDataAggregator:
"Provider3": [self.__product("BTC", 49900.0, 900.0, "USD")],
}
# aggregate_single_asset returns a single ProductInfo, not a list
aggregated = ProductInfo.aggregate(products)
assert len(aggregated) == 1