mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Remove messy subclassing in the TelegramClient
Since it was easy to cause MRO inconsistencies, and it's not really needed now that self is type hinted as the client.
This commit is contained in:
@@ -4,8 +4,6 @@ import os
|
||||
import sys
|
||||
import typing
|
||||
|
||||
from .messageparse import MessageParseMethods
|
||||
from .users import UserMethods
|
||||
from .. import utils, helpers, errors, password as pwd_mod
|
||||
from ..tl import types, functions
|
||||
|
||||
@@ -13,7 +11,7 @@ if typing.TYPE_CHECKING:
|
||||
from .telegramclient import TelegramClient
|
||||
|
||||
|
||||
class AuthMethods(MessageParseMethods, UserMethods):
|
||||
class AuthMethods:
|
||||
|
||||
# region Public methods
|
||||
|
||||
|
Reference in New Issue
Block a user