我正在尝试通过Google Cloud的App Engine标准部署一个基于Quart的Python应用程序。然而,我一直收到以下错误:
Traceback (most recent call last):
File "/env/lib/python3.7/site-packages/gunicorn/workers/gthread.py", line 284, in handle
keepalive = self.handle_request(req, conn)
File "/env/lib/python3.7/site-packages/gunicorn/workers/gthread.py", line 333, in handle_request
respiter = self.wsgi(environ, resp.start_response)
TypeError: __call__() missing 1 required positional argument: 'send'
我知道Quart是一个ASGI解决方案,而Google App Engine是无服务器设置。将Quart部署到AWS Lambda的建议之一是使用Magnum。那是否也适用于Google Cloud App Engine呢?
非常感谢您的帮助。