TypeError: __call__() missing 1 required positional argument: 'send' #7751
Unanswered
Technerder
asked this question in
Questions
Replies: 3 comments
-
fastapi only supports ASGI, not WSGI. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @phy25 ! Yep, @Technerder you would normally use Uvicorn, Daphne, Hypercorn. Or something like Gunicorn running Uvicorn. |
Beta Was this translation helpful? Give feedback.
0 replies
-
That makes sense, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Getting the following error:
To Reproduce
Expected behavior
Expected a JSON response along the lines of {"DirectionChar": "A"}
Environment
OS: Debian 10
FastAPI Version: 0.47.1
Python version: 3.7.3
Beta Was this translation helpful? Give feedback.
All reactions