Commit Graph

10 Commits

Author SHA1 Message Date
Lonami Exo
100cd807f6 Better GetAdminLogRequest example 2018-12-25 14:17:19 +01:00
Lonami Exo
8224e5aabf Make use of pathlib nearly everywhere (breaks docs gen)
Python 3.6 introduced support for the os.PathLike interface,
which means Python 3.5 did not have it yet and attempting to
use it in os functions would fail. Instead we can use pathlib
for everything, but not all work is done yet.
2018-12-21 13:24:16 +01:00
Lonami Exo
e852dccebf Prevent common pitfall when pulling new .tl files 2018-12-20 20:52:19 +01:00
Lonami Exo
da5c171346 Skip core types when parsing .tl files
This avoids the need to comment then every time the file changes.
2018-12-15 12:38:56 +01:00
Lonami Exo
932d3bd033 Improve autogenerated examples with more cases and synonyms 2018-12-15 11:47:52 +01:00
Lonami
52b179dba8
Never check channel constructor when generating objects 2018-12-14 17:31:15 +01:00
Lonami Exo
50b77d881d Clarify who can use methods in the documentation 2018-12-03 16:17:37 +01:00
Lonami Exo
477fbd8dc7 Generate simple examples for the docs 2018-10-16 09:29:48 +02:00
Lonami Exo
8f04ec820f Don't add functions as possible argument types 2018-10-15 21:12:10 +02:00
Lonami Exo
bb180a1db8 Split generator/tlobject into separate files 2018-10-15 19:29:32 +02:00