问题报错:RuntimeWarning: Enable tracemalloc to get the object allocation traceback 发生这个问题是我在导入 from starlette.requests import Request 这个包使用request.json()的时候触发的 简单翻一下:运行时警告:启用tracemalloc以获取对象分配回溯 问题原因:调用异步函数,没有关键字await 修改如下: