title: VSCode + Pylance: Class attributes recognized but no autocomplete available
body: <p>I've recently installed Pylance as python language server on VSCode.
  I'm building an app with PyQt5. In the script under question,
  I'm inheriting a UI python script automatically generated by pyqt5 uic. <code>listProfiles</code> is a <code>QListView</code> object generated in <code>Ui_ProfileMainWindow</code></p>
  <pre><code>class ProfileMainWindow(QMainWindow, Ui_ProfileMainWindow):
      def __init__(self, model = None):
          super().__init__()
          self.setupUi(self)
          if model:
              self.listProfiles.setModel(model)
  </code></pre>
  <p>Pylance is capable of seeing the <code>listProfiles</code> attribute and recognizes it as a <code>QListView</code> object:</p>
  <p><a href="https://i.stack.imgur.com/xukLc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xukLc.png" alt="enter image description here" /></a></p>
  <p>But no autocomplete is provided for it:</p>
  <p><a href="https://i.stack.imgur.com/UB16N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UB16N.png" alt="enter image description here" /></a></p>
  <p>Furthermore, a when the mouse is over <code>self.listProfiles</code>, a generic <code>Any</code> type is pointed out for it:</p>
  <p><a href="https://i.stack.imgur.com/MHIpl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MHIpl.png" alt="enter image description here" /></a></p>
  <p>I really can't figure out what's going on.
  I'd like to assume I've messed something up before thinking of a bug.</p>
  <p>Since it's been a day I'm working with Pylance, I'd say that this was not happened as soon as I installed the language server, but I'm not sure about this piece of information, since I was working on another part of the script and, maybe, I just didn't realize that</p>
  <p>No errors are in the code, since the app run and works properly.</p>
  <h1>EDIT 1</h1>
  <p>The problem is solved swapping the order of the inherited class:</p>
  <pre><code>class ProfileMainWindow(Ui_ProfileMainWindow,QMainWindow):
      def __init__(self, model = None):
          super().__init__()
          self.setupUi(self)
          if model:
              self.listProfiles.setModel(model)
  </code></pre>
  <p>Still can't figure out why and what's going on.</p>