pylance-release icon indicating copy to clipboard operation
pylance-release copied to clipboard

IntelliSense not works for submodules

Open GF-Huang opened this issue 3 years ago • 1 comments

Applies To

  • [X] Notebooks (.ipynb files)
  • [ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

In JupyterLab, I simply import the module, it can show me the parameters of the class which inside submodule.

image

In VSCode, not work.

image

VS Code Version

1.69.1

Jupyter Extension Version

v2022.6.1201981810

Jupyter logs

No response

Coding Language and Runtime Version

Python 3.9.13 by MiniConda

Language Extension Version (if applicable)

v2022.10.1

Anaconda Version (if applicable)

MiniConda 4.13.0

Running Jupyter locally or remotely?

Local

GF-Huang avatar Jul 17 '22 14:07 GF-Huang

try

from tianshou.utils.net import common


common.Recurrent()

.net is missing from the public types listed in utils_init_.py image

bschnurr avatar Aug 08 '22 21:08 bschnurr

Closing old issue. If this is still a problem, please reopen with the information requested. thanks

judej avatar Sep 20 '22 18:09 judej