

@fapp.route('/api/pet/uploadImage', methods=['POST'])
def pet_image():
    if (request.method == 'POST'):
        global received_file
        global received_meta
        out = six.BytesIO()
        request.files['file'].save(out)
        received_file = out.getvalue()
        received_meta.close()
        received_meta = request.form['additionalMetadata']
        return ('', 200)

dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/contrib/client/test_flask.py pet_image/VarMisuse@68/97 `out`->`received_meta`