title: Finding definitions of modules which are parameters with LSP (pyright)
body: <p>Suppose i have the following code in python:</p>
  <pre><code>module dbm_adapter
  
  def insert_in_database():
     doSomething
  </code></pre>
  <hr />
  <pre><code>module B:
  import dbm_adapter
  
  def myfunc(dbm_adapter):
  LINE 10    dbm_adapter.insert_in_database()
  
  myfunc(dbm_adapter)
  </code></pre>
  <p>When i go to line 10 and i click on insert_in_database() in my IDE with emacs using lsp, the definition of the function is not found. Is it possible to jump to that definition with lsp?</p>