mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Added extra dependencies and fixed tests
This commit is contained in:
parent
2f32236680
commit
0cf2a0fe77
4
setup.py
4
setup.py
@ -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',
|
||||
|
@ -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.
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user