jordaneremieff / mangum

AWS Lambda support for ASGI applications
https://mangum.io/
MIT License
1.67k stars 119 forks source link

Change asyncio run implementation to remove python 3.10 warnings #301

Closed ImreC closed 8 months ago

ImreC commented 1 year ago

Should support Python3.7+

ImreC commented 1 year ago

@jordaneremieff tiny change to remove some warnings. Feel free to close if already addressed somewhere else or not acceptable to you

ImreC commented 1 year ago

@jordaneremieff I can't think of a convenient way to implement this without checking the python version which reduces the code coverage somewhat due to that not all code will run on each python version. If this is not acceptable I will close this PR as the effort to remove some warnings seems not worth it.