MTPyroger/pyrogram
Alisson Lauffer 1dc4df8cb1
Improve typing hints (#537)
* Change type1 or type2 to Union[type1, type2]

* Address @KunoiSayami suggestions

* Change Union[type1, None] to Optional[type1]

* Update PR with latest commit changes

* Address Dan suggestions
2020-12-20 17:05:17 +01:00
..
connection Improve typing hints (#537) 2020-12-20 17:05:17 +01:00
crypto Deep rewrite: preparing for v1.0 2020-08-22 08:05:05 +02:00
errors Improve typing hints (#537) 2020-12-20 17:05:17 +01:00
handlers Typo on_chosen_inline_query -> on_chosen_inline_result (#559) 2020-12-12 16:57:51 +01:00
methods Improve typing hints (#537) 2020-12-20 17:05:17 +01:00
parser Improve typing hints (#537) 2020-12-20 17:05:17 +01:00
raw Fix leftover bytes not being represented in hex 2020-11-30 12:46:44 +01:00
session Make generating new salts independent of the system clock 2020-12-12 16:46:40 +01:00
storage Deep rewrite: preparing for v1.0 2020-08-22 08:05:05 +02:00
types Improve typing hints (#537) 2020-12-20 17:05:17 +01:00
__init__.py Bump beta version 2020-12-08 22:26:43 +01:00
client.py Improve typing hints (#537) 2020-12-20 17:05:17 +01:00
dispatcher.py Fix dispatcher not obeying to the INFO logging level 2020-08-29 15:46:39 +02:00
emoji.py Update emoji.py 2020-10-01 19:37:03 +02:00
file_id.py Set default file_reference to b"" instead of None 2020-11-27 22:02:52 +01:00
filters.py Improve typing hints (#537) 2020-12-20 17:05:17 +01:00
mime.types Fix small typo (#502) 2020-10-18 17:59:36 +02:00
scaffold.py Set the main event loop in threads where there's no event loop 2020-08-31 00:17:33 +02:00
sync.py Use the current loop instead of the main loop in case there is one available 2020-09-02 13:07:56 +02:00
syncer.py Use create_task instead of ensure_future 2020-08-22 14:05:54 +02:00
utils.py Improve typing hints (#537) 2020-12-20 17:05:17 +01:00