-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
TypeError: __call__() missing 1 required positional argument: 'send' #2154
Comments
FastAPI only runs in an ASGI server. gunicorn only ships with implementations of the PEP 3333 WSGI standard. The two are not compatible. |
@jamadden
are there any other ways? |
As far as I know, that's the only worker that implements ASGI instead of WSGI. |
ok, thanks a lot! |
the only other worker u can safely use is the |
gunicorn + fastapi
fastapi:
gunicorn:
or
error:
The text was updated successfully, but these errors were encountered: