@app.route("<STR_LIT>", methods=["<STR_LIT:GET>", "<STR_LIT:POST>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>"])<EOL>def delay_response(delay):
delay = min(float(delay), <NUM_LIT:10>)<EOL>time.sleep(delay)<EOL>return jsonify(<EOL>get_dict("<STR_LIT:url>", "<STR_LIT:args>", "<STR_LIT>", "<STR_LIT:data>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>)<EOL>
Returns a delayed response (max of 10 seconds).
    ---
    tags:
      - Dynamic data
    parameters:
      - in: path
        name: delay
        type: int
    produces:
      - application/json
    responses:
      200:
        description: A delayed response.