mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
Fix generated code showing the incorrent type hint for datetime
This commit is contained in:
parent
1d3273a306
commit
81d4d76d16
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user