Add Python type hints to attributes of TL types (#678)

This commit is contained in:
Tulir Asokan
2018-03-12 11:58:56 +02:00
committed by Lonami
parent 751461f0f5
commit 935de0afbb
4 changed files with 99 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ Extra supported commands are:
# To use a consistent encoding
from codecs import open
from sys import argv
from sys import argv, version_info
import os
import re
@@ -153,7 +153,8 @@ def main():
'telethon_generator/parser/tl_object.py',
'telethon_generator/parser/tl_parser.py',
]),
install_requires=['pyaes', 'rsa'],
install_requires=['pyaes', 'rsa',
'typing' if version_info < (3, 5) else ""],
extras_require={
'cryptg': ['cryptg'],
'sqlalchemy': ['sqlalchemy']