title: Unable to import 'request' module in Flask - "type object 'Flask' has no attribute 'request'"
body: <p>after installing the requests module into my virtual environment, my flask application can no longer import/access the request module.</p>
  <p>i am able to import requests successfully, but not request:</p>
  <p><a href="https://i.stack.imgur.com/vHdPL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vHdPL.png" alt="enter image description here" /></a></p>
  <p>As we can see, 'request' is greyed out and unable to be accessed as it previously was in my application.</p>
  <p>When I hover over the greyed 'request' it says '&quot;request&quot; is not accessed, Pylance'</p>
  <p>This is the output of <code>pip list</code> in my virtual environment</p>
  <p><a href="https://i.stack.imgur.com/inGZi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/inGZi.png" alt="enter image description here" /></a></p>