mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Try to fix flake8 unused type ignore
This commit is contained in:
parent
4257f7db57
commit
3a668cec1b
1 changed files with 2 additions and 2 deletions
|
|
@ -145,8 +145,8 @@ class RedisStorage(BaseStorage):
|
|||
else:
|
||||
await self.redis.set(
|
||||
redis_key,
|
||||
state.state if isinstance(state, State) else state, # type: ignore[arg-type]
|
||||
ex=self.state_ttl, # type: ignore[arg-type]
|
||||
cast(str, state.state if isinstance(state, State) else state),
|
||||
ex=self.state_ttl, # type: ignore[arg-type] # NOQA
|
||||
)
|
||||
|
||||
async def get_state(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue