Fix Python 3.6 compatibility

Introduced on accident by #4475.
This commit is contained in:
Lonami Exo 2024-11-18 17:04:07 +01:00
parent 63d55bbe3d
commit 9ca3b599fc
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ class UploadMethods:
comment_to: 'typing.Union[int, types.Message]' = None,
ttl: int = None,
nosound_video: bool = None,
**kwargs) -> list[typing.Any] | typing.Any:
**kwargs) -> typing.Union[typing.List[typing.Any], typing.Any]:
"""
Sends message with the given file to the specified entity.

View File

@ -1,3 +1,3 @@
# Versions should comply with PEP440.
# This line is parsed in setup.py:
__version__ = '1.38.0'
__version__ = '1.38.1'