async defeven if you're not actually doing any async stuff, that way you don't push execution into a thread (which I think would introduce overhead)
Hi all, I saw that the GraphQL starlette module is deprecated and has some suggestions for replacement. Which one works best with FasAPI?
GraphQL support in Starlette is deprecated as of version 0.15 and will be removed in a future release. It is also incompatible with Python 3.10+. Please consider using a third-party library to provide GraphQL support. This is usually done by mounting a GraphQL ASGI application. See #619. Some example libraries are:
Hi there! We're trying to understand a bug we are hitting in our FastAPI app that uses uvicorn, uvloop and httptools that sometimes happens when we are parsing many url params. We've spent a long time digging through source and discovered that our issue seems to be that the entire url is sent in chunks to HTTPToolsProtocol's
data_received method, leading to the
on_url callback getting called with incomplete data multiple times.
I am unfamiliar with how these event loops are supposed to work, is it expected that
data_received is called with the url still streaming in? Should the
on_url callback be protecting against data still streaming in? I'd be happy to open an issue after I understand the problem a bit better. We are on a year-old version (0.11.8), it's possible this was a known bug that has already been fixed.