Fixed mypy

This commit is contained in:
Alex Root Junior 2022-09-28 00:14:47 +03:00
parent bd356d7280
commit 23b6461249
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
2 changed files with 2 additions and 2 deletions

View file

@ -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:
"""

View file

@ -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):