From d6326abacb43496958129101343c06930c5e691e Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sat, 11 Sep 2021 13:35:35 +0200 Subject: [PATCH] Rename client module as _client --- readthedocs/misc/v2-migration-guide.rst | 5 ----- telethon/{client => _client}/__init__.py | 0 telethon/{client => _client}/account.py | 0 telethon/{client => _client}/auth.py | 0 telethon/{client => _client}/bots.py | 0 telethon/{client => _client}/buttons.py | 0 telethon/{client => _client}/chats.py | 0 telethon/{client => _client}/dialogs.py | 0 telethon/{client => _client}/downloads.py | 0 telethon/{client => _client}/messageparse.py | 0 telethon/{client => _client}/messages.py | 0 telethon/{client => _client}/telegrambaseclient.py | 0 telethon/{client => _client}/telegramclient.py | 0 telethon/{client => _client}/updates.py | 0 telethon/{client => _client}/uploads.py | 0 telethon/{client => _client}/users.py | 0 16 files changed, 5 deletions(-) rename telethon/{client => _client}/__init__.py (100%) rename telethon/{client => _client}/account.py (100%) rename telethon/{client => _client}/auth.py (100%) rename telethon/{client => _client}/bots.py (100%) rename telethon/{client => _client}/buttons.py (100%) rename telethon/{client => _client}/chats.py (100%) rename telethon/{client => _client}/dialogs.py (100%) rename telethon/{client => _client}/downloads.py (100%) rename telethon/{client => _client}/messageparse.py (100%) rename telethon/{client => _client}/messages.py (100%) rename telethon/{client => _client}/telegrambaseclient.py (100%) rename telethon/{client => _client}/telegramclient.py (100%) rename telethon/{client => _client}/updates.py (100%) rename telethon/{client => _client}/uploads.py (100%) rename telethon/{client => _client}/users.py (100%) diff --git a/readthedocs/misc/v2-migration-guide.rst b/readthedocs/misc/v2-migration-guide.rst index cd887251..7655e673 100644 --- a/readthedocs/misc/v2-migration-guide.rst +++ b/readthedocs/misc/v2-migration-guide.rst @@ -32,8 +32,3 @@ change even across minor version changes, and thus have your code break. * The ``telethon.client`` module is now ``telethon._client``, meaning you should stop relying on anything inside of it. This includes all of the subclasses that used to exist (like ``UserMethods``). - - TODO REVIEW self\._\w+\( - and __signature__ - and property - abs abc abstract \ No newline at end of file diff --git a/telethon/client/__init__.py b/telethon/_client/__init__.py similarity index 100% rename from telethon/client/__init__.py rename to telethon/_client/__init__.py diff --git a/telethon/client/account.py b/telethon/_client/account.py similarity index 100% rename from telethon/client/account.py rename to telethon/_client/account.py diff --git a/telethon/client/auth.py b/telethon/_client/auth.py similarity index 100% rename from telethon/client/auth.py rename to telethon/_client/auth.py diff --git a/telethon/client/bots.py b/telethon/_client/bots.py similarity index 100% rename from telethon/client/bots.py rename to telethon/_client/bots.py diff --git a/telethon/client/buttons.py b/telethon/_client/buttons.py similarity index 100% rename from telethon/client/buttons.py rename to telethon/_client/buttons.py diff --git a/telethon/client/chats.py b/telethon/_client/chats.py similarity index 100% rename from telethon/client/chats.py rename to telethon/_client/chats.py diff --git a/telethon/client/dialogs.py b/telethon/_client/dialogs.py similarity index 100% rename from telethon/client/dialogs.py rename to telethon/_client/dialogs.py diff --git a/telethon/client/downloads.py b/telethon/_client/downloads.py similarity index 100% rename from telethon/client/downloads.py rename to telethon/_client/downloads.py diff --git a/telethon/client/messageparse.py b/telethon/_client/messageparse.py similarity index 100% rename from telethon/client/messageparse.py rename to telethon/_client/messageparse.py diff --git a/telethon/client/messages.py b/telethon/_client/messages.py similarity index 100% rename from telethon/client/messages.py rename to telethon/_client/messages.py diff --git a/telethon/client/telegrambaseclient.py b/telethon/_client/telegrambaseclient.py similarity index 100% rename from telethon/client/telegrambaseclient.py rename to telethon/_client/telegrambaseclient.py diff --git a/telethon/client/telegramclient.py b/telethon/_client/telegramclient.py similarity index 100% rename from telethon/client/telegramclient.py rename to telethon/_client/telegramclient.py diff --git a/telethon/client/updates.py b/telethon/_client/updates.py similarity index 100% rename from telethon/client/updates.py rename to telethon/_client/updates.py diff --git a/telethon/client/uploads.py b/telethon/_client/uploads.py similarity index 100% rename from telethon/client/uploads.py rename to telethon/_client/uploads.py diff --git a/telethon/client/users.py b/telethon/_client/users.py similarity index 100% rename from telethon/client/users.py rename to telethon/_client/users.py