Skip to content

Commit

Permalink
fix: mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
beheh committed Apr 16, 2024
1 parent 5b3c720 commit 6ced5b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions twitch_hdt_ebs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import logging
import string
from collections import defaultdict
from typing import Any, Dict, List, Optional
from typing import Any, Dict, List, Optional, Union

import jwt
from allauth.socialaccount.models import SocialAccount
Expand Down Expand Up @@ -206,7 +206,7 @@ def cache_deck_data(self, data, version: int, config: dict) -> bool:

cards_list.sort()

sideboards = defaultdict(list)
sideboards: Union[dict, defaultdict] = defaultdict(list)

for owner_dbf_id, dbf_id, _, initial in deck_data.get("sideboards", []):
for i in range(initial):
Expand Down

0 comments on commit 6ced5b4

Please sign in to comment.