You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python version (& distribution if applicable, e.g. Anaconda): 3.9.16 (conda: 23.3.1)
Code Snippet
It is difficult to provide minimal, self-contained code here, as it relates to Jupyter Notebook cells.
1st Jupyter notebook code cell:
fromutilsimportA
2nd Jupyter notebook code cell:
%%timeB=A()
In this case, in 1st Jupyter notebook code cell function A will be greyed out and upon hovering over the greyed out A, I get the mesage:
"A" is not accessed Pylance
Also in subsequent Jupyter notebook code cells, B is not recognized as a defined variable.
I have the feeling, it has to do with the fact that it is a magic cell.
Repro Steps
See above
XXX
Expected behavior
Imported function should also be recognized in magic cells as being accessed and subsequent use of the assigned variable should be detected.
Actual behavior
Imported function is not recognized as being accessed in a magic cell and subsequent use of the assigned variable is not detected.
Logs
XXX
The text was updated successfully, but these errors were encountered:
Environment data
Code Snippet
It is difficult to provide minimal, self-contained code here, as it relates to Jupyter Notebook cells.
1st Jupyter notebook code cell:
2nd Jupyter notebook code cell:
In this case, in 1st Jupyter notebook code cell function A will be greyed out and upon hovering over the greyed out A, I get the mesage:
"A" is not accessed Pylance
Also in subsequent Jupyter notebook code cells, B is not recognized as a defined variable.
I have the feeling, it has to do with the fact that it is a magic cell.
Repro Steps
See above
Expected behavior
Imported function should also be recognized in magic cells as being accessed and subsequent use of the assigned variable should be detected.
Actual behavior
Imported function is not recognized as being accessed in a magic cell and subsequent use of the assigned variable is not detected.
Logs
The text was updated successfully, but these errors were encountered: