Commit Graph

20 Commits

Author SHA1 Message Date
Dan
b5c6db6db0 Refactor project and move errors namespace out from pyrogram.api 2019-03-25 11:23:45 +01:00
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
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
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
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
7374c10afd Faster Object deserialization (~3x) 2017-12-11 11:35:38 +01:00
Dan
bf27bf1cb4 Add core types 2017-12-05 12:32:23 +01:00