Commit Graph

32 Commits

Author SHA1 Message Date
Dan
c611944d45 Don't ensure ascii when printing objects
This will break in case of non-utf8 terminals
2019-03-16 15:40:07 +01:00
Dan
6bd9ddc95e Add __slots__ to Telegram TL types 2019-03-16 15:30:55 +01:00
Dan
4d7b1bafac Update copyright year 2019-01-01 12:36:16 +01:00
Dan
3cbffd93f2 Revert "Log unknown constructors"
This reverts commit 0b6b598

This fixes #128
2018-10-01 09:25:20 +02:00
Dan
e7a85520f2 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	pyrogram/client/client.py
2018-09-17 15:59:49 +02:00
Dan
b1aff3ca5e
Small style fixes
"double quotes"
2018-09-12 07:44:49 +02:00
Dan
b07c13a513 Remove useless definition
PyCharm will complain about Long not being a bytes, let's not care.
2018-09-05 16:50:38 +02:00
Konstantin Klimov
392f0070fb Fixed decode error in api.core.primitives.string.py 2018-09-04 08:25:56 +03:00
Dan
4c9d9d84f2 Change the way int to bytes conversion is used
Maybe at some point I should switch to struct
2018-09-01 01:27:22 +02:00
Dan
0b6b598059 Log unknown constructors 2018-08-24 17:39:55 +02:00
Dan
c88ca2e4f5 Add namespaces when printing Object types 2018-06-04 11:58:22 +02:00
Dan
36a1015ec9 Hide _client when printing pyrogram object 2018-06-04 09:11:58 +02:00
Dan
91cf103783 Remove a bunch of useless TODOs 2018-06-02 20:54:23 +02:00
Dan
3d3c1e2c0e Use __name__ instead of .split(".")[-1] 2018-05-02 00:36:39 +02:00
Dan
20146ded28 Show only the type name (class) 2018-04-30 20:40:32 +02:00
Dan
f6b0e0e0dc Initial support for Reply Markups 2018-04-27 19:04:16 +02:00
Dan
739779c29d Remove Client objects representation 2018-04-26 12:12:38 +02:00
Dan
7c2c878333 Add core type hints for generated classes 2018-04-25 12:55:38 +02:00
Dan
3a4e24ecbf Fix prints of pyrogram types 2018-04-25 12:50:09 +02:00
Dan
87efe4bb99 Merge branch 'master' into new-api 2018-04-14 13:28:55 +02:00
Dan
41ff375f08 Allow accessing Object fields using square brackets 2018-04-13 20:56:12 +02:00
Dan
88292cf7d6 Implement __bool__ 2018-04-03 14:44:24 +02:00
Dan
676f9feba8 Strip None fields away 2018-03-26 15:16:09 +02:00
Dan
d70c2bb564 Update copyright year 2018-01-01 13:24:07 +01:00
Dan
ba0af8043c Add Null primitive data type 2017-12-27 13:05:59 +01:00
Dan
3eaba9d2f4 Fix deserialization for bare Vectors 2017-12-25 11:47:08 +01:00
Dan
7374c10afd Faster Object deserialization (~3x) 2017-12-11 11:35:38 +01:00
Dan
055367fe9c Fix method signatures 2017-12-06 19:28:18 +01:00
Dan
29ef38df89 Remove unnecessary checks 2017-12-06 19:14:45 +01:00
Dan
f30746a0b2 Use unsigned constructor id 2017-12-06 19:13:50 +01:00
Dan
bf27bf1cb4 Add core types 2017-12-05 12:32:23 +01:00
Dan
c9f90faf3d Add primitive types 2017-12-05 12:29:15 +01:00