Skip to content

Commit 91cf103

Browse files
committed
Remove a bunch of useless TODOs
1 parent dc7fe93 commit 91cf103

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

pyrogram/api/core/primitives/int.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ def __new__(cls, value: int, signed: bool = True) -> bytes:
3535
class Long(Int):
3636
SIZE = 8
3737

38-
# TODO: PyCharm can't infer types when overriding parent's __new__ and is showing unnecessary warnings.
39-
# Add this to shut warnings down
4038
def __new__(cls, *args):
4139
return super().__new__(cls, *args)
4240

pyrogram/client/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,6 @@ def resolve_peer(self, peer_id: int or str):
10081008
except (KeyError, ValueError):
10091009
raise PeerIdInvalid
10101010

1011-
# TODO: Improvements for the new API
10121011
def save_file(self,
10131012
path: str,
10141013
file_id: int = None,
@@ -1084,7 +1083,6 @@ def save_file(self,
10841083
finally:
10851084
session.stop()
10861085

1087-
# TODO: Improvements for the new API
10881086
def get_file(self,
10891087
dc_id: int,
10901088
id: int = None,

0 commit comments

Comments
 (0)