python中Flask遇到的错误TypeError: __init__() got an unexpected keyword argument 'method'

python中Flask遇到的错误TypeError: __init__() got an unexpected keyword argument 'method'_第1张图片出现这个错误时,可以检查一下配置文件,看是否methods写成methodpython中Flask遇到的错误TypeError: __init__() got an unexpected keyword argument 'method'_第2张图片
如果methods参数没有错误,考虑查看代码中methodspython中Flask遇到的错误TypeError: __init__() got an unexpected keyword argument 'method'_第3张图片
如图,上面的method缺个s

你可能感兴趣的:(bug)