From f50694fdc280f1871822721c67e64e40f630d702 Mon Sep 17 00:00:00 2001 From: joseph Date: Thu, 27 Sep 2018 11:31:21 +0200 Subject: [PATCH] asynciowrapper for sessions --- .idea/inspectionProfiles/Project_Default.xml | 27 + .idea/misc.xml | 7 + .idea/modules.xml | 8 + .idea/telethon-opensource.iml | 11 + .idea/vcs.xml | 6 + .idea/workspace.xml | 679 +++++++++++++++++++ telethon/client/auth.py | 2 +- telethon/client/downloads.py | 4 +- telethon/client/telegrambaseclient.py | 17 +- telethon/client/updates.py | 10 +- telethon/client/uploads.py | 8 +- telethon/client/users.py | 8 +- telethon/network/__init__.py | 2 +- telethon/network/connection/__init__.py | 1 + telethon/network/mtprotosender.py | 6 +- telethon/test.py | 47 ++ telethon/utils.py | 18 + 17 files changed, 832 insertions(+), 29 deletions(-) create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/telethon-opensource.iml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 telethon/test.py diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 00000000..a0032bb2 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,27 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 00000000..ef79d401 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..085b279e --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/telethon-opensource.iml b/.idea/telethon-opensource.iml new file mode 100644 index 00000000..67116063 --- /dev/null +++ b/.idea/telethon-opensource.iml @@ -0,0 +1,11 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..94a25f7f --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 00000000..80272da0 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,679 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + self.session. + f = + set_update + self.session + set_dc + auth_key_call + mtprot + set_ + AsyncClass + Connection + + + D:\projects\telethon-opensource\telethon + D:\projects\telethon-opensource + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + +