Commit Graph

41 Commits

Author SHA1 Message Date
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
2a79243841 Rename and rework Setup docs page 2018-06-05 16:37:57 +02:00
Dan
95e16c2e6c Rename and rework Installation docs page 2018-06-05 16:36:37 +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
6e78935857 Accommodate the new types 2018-04-24 16:08:33 +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
398858acc1 Merge branch 'master' into new-api 2018-04-11 03:20:19 +02:00
Dan
eeb89e4161 Fix some weird behaviours when printing exceptions 2018-04-09 22:04:16 +02:00
Dan
f57ff96ab3 Merge branch 'master' into dispatcher 2018-04-08 16:54:38 +02:00
Dan
ec72330de9 Allow passing a custom error message 2018-04-08 16:51:20 +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
c7d2de3ee9 Force UTF-8 encoding when r/w'ing text files 2018-01-21 16:56:50 +01:00
Dan
d70c2bb564 Update copyright year 2018-01-01 13:24:07 +01:00
Dan
5e7d9af95d Document the Error class 2017-12-30 19:30:51 +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
a4d00b7376 Expose UnknownError class 2017-12-17 13:50:12 +01:00
Dan
7374c10afd Faster Object deserialization (~3x) 2017-12-11 11:35:38 +01:00
Dan
740c96f0ea Optimize imports 2017-12-06 20:26:40 +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
95cb91b778 Add error package 2017-12-05 12:36:11 +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