Skip to content

Commit 36a1015

Browse files
committed
Hide _client when printing pyrogram object
1 parent 7e5dcb9 commit 36a1015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrogram/api/core/object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def default(self, o: Object):
7878
if o is not None:
7979
if o.startswith("pyrogram.client"):
8080
r = remove_none(OrderedDict([("_", name)] + [i for i in content.items()]))
81-
r.pop("client", None)
81+
r.pop("_client", None)
8282

8383
return r
8484
else:

0 commit comments

Comments
 (0)