title: Flask: my visual studio can't find request module
body: <p>i am trying to code my first blockchain project just for education.
  So, i learnt it from Udemy course and now i stuck at making route to receive form from client UI to backend or generate transaction by using Flask framework, the problem is i was trying to import request module but my vscode cannot find it.</p>
  <pre><code>from flask import request
  
  @app.route('/generate/transaction', methods=['POST'])
  def generate_transaction():
      
  sender_public_key = request.form['sender_public_key']
  sender_private_key = request.form['sender_private_key']
  receiver_public_key = request.form['receiver_public_key']
  amount = request.form['amount']
      
  transaction = Transaction(sender_public_key, sender_private_key,receiver_public_key,amount)
  response = {'transaction':transaction.to_dict(),'signature':'block',}
      
  return jsonify(response),200
  </code></pre>
  <p>and the error is</p>
  <pre><code>sender_public_key = request.form['sender_public_key']
  AttributeError: 'function' object has no attribute 'form'
  </code></pre>
  <p>can anyone help?
  Thank you</p>