mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Change NotImplemented to NotImplementedError
This commit is contained in:
parent
e498a661b9
commit
6224a232ea
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ class TelegramObject(ContextInstanceMixin, metaclass=MetaTelegramObject):
|
|||
|
||||
@classmethod
|
||||
def create(cls: typing.Type[T], *args: typing.Any, **kwargs: typing.Any) -> T:
|
||||
raise NotImplemented
|
||||
raise NotImplementedError
|
||||
|
||||
def __str__(self) -> str:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue