Skip to content

Commit

Permalink
fix Dict
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewqian2001 committed Dec 1, 2023
1 parent ff84c55 commit be46de2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/langchain/langchain/utilities/steam.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Util that calls Steam-WebAPI."""

from typing import Any, List
from typing import Any, Dict, List

from langchain.pydantic_v1 import BaseModel, Extra, root_validator

Expand Down Expand Up @@ -123,7 +123,7 @@ def recommended_games(self, steam_id: str) -> str:
except ImportError:
raise ImportError("steamspypi library is not installed.")
users_games = self.get_users_games(steam_id)
result = {}
result: Dict[str, Any] = {}
most_popular_genre = ""
most_popular_genre_count = 0
for game in users_games["games"]:
Expand Down

0 comments on commit be46de2

Please sign in to comment.