This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trio - Python library for async concurrency and I/O #310
Comments
I guess most FastAPI users use it with uvloop which trio is not compatible with: python-trio/trio#138 |
This is a great place to mention that you can use hypercorn, which seems to support trio (I haven't tested it personally though). |
Maybe, again maybe, if you configure uvicorn to use asyncio instead of uvloop as its loop, trio will work with it and consequently, with FastAPI Of course that's in case one does not need absolutely cutting edge performance. |
So, FastAPI uses Starlette's Prior to FastAPI supporting Trio, we would need Starlette itself to support Trio. But that's probably quite a lot of work there. Also, if Starlette supported Trio that would be automatically inherited by FastAPI. You can track it here: encode/starlette#811 |
Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues. |
there's some progress on this here: encode/starlette#1157 |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Description
Hello!
I'm using Hypercorn with uvloop.
I'd like to use Hypercorn with trio, but the program doesn't start when i switch uvloop by trio.
Do you have plans to implement trio?
Thank's!
PS: Nice work.
The text was updated successfully, but these errors were encountered: