如何在flagger中上传多个文件

问题描述

我正在尝试使用 flasgger 上传多个文件。我没有找到正确的参考来源。

下面是我用来上传单个文件代码..如何将此代码转换上传多个文件然后阅读...

@app.route('/json_convert_',methods=["POST"])
def predict_note_file():
   """APP 
   This is using docstringfs for specifications.
   ---
   parameters:
     - name: file
       in: formData
       type: file
       required: true
  
   responses:
       200:
           description: The output values
    
   """

   file = request.files['file']
   filename = secure_filename(file.filename)
   file.save(filename)
   return("successful")enter code here

你能帮我解决这个问题吗,

谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)