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',
|
'json': 'ujson',
|
||||||
'PIL': 'Pillow',
|
'PIL': 'Pillow',
|
||||||
'redis': 'redis>=3.4.1',
|
'redis': 'redis>=3.4.1',
|
||||||
|
'aioredis': 'aioredis',
|
||||||
'aiohttp': 'aiohttp',
|
'aiohttp': 'aiohttp',
|
||||||
|
'flask': 'flask',
|
||||||
|
'fastapi': 'fastapi',
|
||||||
|
'uvicorn': 'uvicorn',
|
||||||
},
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 5 - Production/Stable',
|
'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"])
|
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.
|
Processes updates.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user