From 91cf103783a2e78f258b0aa2e769bbaf748881be Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 2 Jun 2018 20:52:46 +0200 Subject: [PATCH] Remove a bunch of useless TODOs --- pyrogram/api/core/primitives/int.py | 2 -- pyrogram/client/client.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/pyrogram/api/core/primitives/int.py b/pyrogram/api/core/primitives/int.py index 6379c2ad..0985367f 100644 --- a/pyrogram/api/core/primitives/int.py +++ b/pyrogram/api/core/primitives/int.py @@ -35,8 +35,6 @@ class Int(Object): class Long(Int): SIZE = 8 - # TODO: PyCharm can't infer types when overriding parent's __new__ and is showing unnecessary warnings. - # Add this to shut warnings down def __new__(cls, *args): return super().__new__(cls, *args) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 24b1b5fe..73f45966 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -1008,7 +1008,6 @@ class Client(Methods, BaseClient): except (KeyError, ValueError): raise PeerIdInvalid - # TODO: Improvements for the new API def save_file(self, path: str, file_id: int = None, @@ -1084,7 +1083,6 @@ class Client(Methods, BaseClient): finally: session.stop() - # TODO: Improvements for the new API def get_file(self, dc_id: int, id: int = None,