From fb30867762c6012550e5ca8c7fe49378e0509b47 Mon Sep 17 00:00:00 2001 From: Aaron Godfrey Date: Mon, 13 Apr 2020 18:15:59 -0700 Subject: [PATCH] Forgot to add types.py --- custom_components/nintendo_wishlist/types.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/custom_components/nintendo_wishlist/types.py b/custom_components/nintendo_wishlist/types.py index 07fecbd..d0edde1 100644 --- a/custom_components/nintendo_wishlist/types.py +++ b/custom_components/nintendo_wishlist/types.py @@ -1,4 +1,4 @@ -from typing import Optional +from typing import Any, Dict, Optional from typing_extensions import TypedDict @@ -10,3 +10,8 @@ class SwitchGame(TypedDict): percent_off: float sale_price: Optional[str] title: str + + +class ResultsDict(TypedDict): + games: Dict[int, SwitchGame] + num_pages: int