Skip to content

Commit

Permalink
Suppress type check error
Browse files Browse the repository at this point in the history
  • Loading branch information
layday committed Dec 7, 2023
1 parent ae1127b commit 43e0a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/instawow/wa_updater/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from datetime import timedelta
from functools import reduce
from itertools import chain, product
from typing import Literal, TypeAlias
from typing import Literal, TypeAlias, cast

from attrs import frozen
from cattrs import Converter
Expand Down Expand Up @@ -106,7 +106,7 @@ class Plateroos:
def from_lua_table(cls, lua_table: _LuaTable):
raw_auras = lua_table['PlaterDB']['profiles']
auras = (
Plateroo.from_lua_table(t)
Plateroo.from_lua_table(cast(_LuaTable, t))
for n, p in raw_auras.items()
for t in chain(
({**p, 'Name': f'__profile_{n}__'},),
Expand Down

0 comments on commit 43e0a60

Please sign in to comment.