Dan
|
1996fb1481
|
Update Copyright
|
2020-03-21 15:43:32 +01:00 |
|
Dan
|
42c9bafa0c
|
Update copyright notice
|
2020-02-01 14:04:33 +01:00 |
|
Dan
|
9ad5e62dea
|
Move all imported schema objects outside TLObject
|
2019-08-01 18:44:20 +02:00 |
|
Dan
|
d727754ad6
|
Remove Null primitive
It's unused
|
2019-08-01 18:41:04 +02:00 |
|
Dan
|
da515af959
|
Rearrange code
|
2019-06-06 19:29:44 +02:00 |
|
Dan
|
d5517f4d5f
|
Rename Object to TLObject
|
2019-06-03 14:19:50 +02:00 |
|
Dan
|
e9a2087fe0
|
Fix List not calling __repr__
|
2019-06-01 15:36:53 +02:00 |
|
Dan
|
f6361cd20f
|
Allow bare lists from the MTProto API to be printed nicely
|
2019-06-01 13:17:04 +02:00 |
|
Dan
|
48a5da8958
|
Let FutureSalt(s) attributes be plain integer instead of datetime values
|
2019-05-31 16:36:20 +02:00 |
|
Dan
|
65c07b7d34
|
Use a better repr for all types
now eval(repr(obj) == obj
|
2019-05-13 16:06:34 +02:00 |
|
Dan
|
e05a5ebf6f
|
Fix core types not being printed because of missing __slots__
|
2019-03-28 14:01:16 +01:00 |
|
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
|
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 |
|