然后出现:
TypeError: __call__() missing 1 required positional argument: 'send'
解决方案就是把gunicorn 启动方式改为:
gunicorn -k uvicorn.workers.UvicornWorker main:app
然后出现:
TypeError: __call__() missing 1 required positional argument: 'send'
解决方案就是把gunicorn 启动方式改为:
gunicorn -k uvicorn.workers.UvicornWorker main:app