Commit Graph

16 Commits

Author SHA1 Message Date
Lonami Exo
9b5d1b02e0 Add return type to the docs of the generated code 2017-05-23 10:10:01 +02:00
Lonami Exo
02a847b64a Make lint happier 2017-05-21 13:59:16 +02:00
Lonami Exo
63c89af983 Use relative imports always where possible 2017-05-21 13:02:54 +02:00
Lonami Exo
ca80b05694 Add shebangs and set proper file permissions 2017-05-20 15:58:44 +02:00
Lonami Exo
c4447bf226 Distinguish between vector type and constructor (fix #81) 2017-05-19 09:41:22 +02:00
Belegnar
0e44657963 * doc improvement
* relative imports not allowed when module is not loaded (https://www.python.org/dev/peps/pep-0366/)
2017-03-10 14:13:22 +03:00
Lonami Exo
b5dfc5d514 Fix requests returning vectors not working (closes #26) 2017-02-25 11:28:55 +01:00
Fadi Hadzh
d087941bd0 Many code-style improvements 2016-11-30 00:29:42 +03:00
Lonami Exo
be94bff576 Patched code generator and updated README.rst removing markdown leftovers 2016-11-23 21:03:58 +01:00
Lonami
6a32c6cd7a Moved requests .constructor_id to be a class-level variable 2016-10-04 18:55:02 +02:00
Lonami
77aa37d2ad Added an .empty() function to the objects, fixes to msgs_ack
The .empty() function returns an "empty" instance of the object
(attributes set to None). This is used rather than using reflection.

The msgs_ack handling broke stuff (InvokeWithLayer when there were
updates), so this is now handled; yet there may be a better fix
2016-09-26 17:18:25 +02:00
Lonami
36b8a9026f Fixed revert by hand (I hope) 2016-09-26 13:13:11 +02:00
Lonami
b68772aab5 Fixed JSON encoding and decoding for lists, added empty() method
The new empty() method retrieves an empty instance of the
given object, with all the attributes set to None
2016-09-25 10:50:48 +02:00
Lonami
fddb3e9aac Added ability to encode/decode TLObjects, updated README 2016-09-24 21:17:41 +02:00
Lonami
6642f73a3d Detect current MTProtoLayer automatically 2016-09-17 21:09:20 +02:00
Lonami
51a531225f Totally refactored source files location
Now it *should* be easier to turn Telethon
into a pip package
2016-09-17 20:45:12 +02:00