mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 19:12:29 +00:00
Fix generated code showing the incorrent type hint for datetime
This commit is contained in:
@@ -249,7 +249,7 @@ class TLArg:
|
||||
'int': 'int',
|
||||
'long': 'int',
|
||||
'string': 'str',
|
||||
'date': 'datetime',
|
||||
'date': 'datetime.datetime',
|
||||
'bytes': 'bytes',
|
||||
'true': 'bool',
|
||||
}.get(self.type, 'TLObject')
|
||||
|
Reference in New Issue
Block a user