Added extra dependencies and fixed tests

This commit is contained in:
_run 2022-07-07 23:02:51 +05:00
parent 2f32236680
commit 0cf2a0fe77
2 changed files with 5 additions and 1 deletions

View File

@ -27,7 +27,11 @@ setup(name='pyTelegramBotAPI',
'json': 'ujson',
'PIL': 'Pillow',
'redis': 'redis>=3.4.1',
'aioredis': 'aioredis',
'aiohttp': 'aiohttp',
'flask': 'flask',
'fastapi': 'fastapi',
'uvicorn': 'uvicorn',
},
classifiers=[
'Development Status :: 5 - Production/Stable',

View File

@ -152,7 +152,7 @@ class AsyncWebhookListener:
self.app.add_api_route(endpoint=self.process_update,path= self._url_path, methods=["POST"])
async def process_update(self, request: fastapi.Request):
async def process_update(self, request):
"""
Processes updates.
"""