mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed mypy
This commit is contained in:
parent
bd356d7280
commit
23b6461249
2 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ class Update(TelegramObject):
|
|||
def __hash__(self) -> int:
|
||||
return hash((type(self), self.update_id))
|
||||
|
||||
@property # type: ignore
|
||||
@property
|
||||
@lru_cache()
|
||||
def event_type(self) -> str:
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ class ItemsList(List[str]):
|
|||
self.extend(other)
|
||||
return self
|
||||
|
||||
__iadd__ = __add__ = __rand__ = __and__ = __ror__ = __or__ = add
|
||||
__iadd__ = __add__ = __rand__ = __and__ = __ror__ = __or__ = add # type: ignore
|
||||
|
||||
|
||||
class OrderedHelperMeta(type):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue