mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-25 00:34:19 +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',
|
'int': 'int',
|
||||||
'long': 'int',
|
'long': 'int',
|
||||||
'string': 'str',
|
'string': 'str',
|
||||||
'date': 'datetime',
|
'date': 'datetime.datetime',
|
||||||
'bytes': 'bytes',
|
'bytes': 'bytes',
|
||||||
'true': 'bool',
|
'true': 'bool',
|
||||||
}.get(self.type, 'TLObject')
|
}.get(self.type, 'TLObject')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user