Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kql created Dataframe variables undefined in Pylance #6261

Closed
bschnurr opened this issue Jun 11, 2021 · 1 comment
Closed

Kql created Dataframe variables undefined in Pylance #6261

bschnurr opened this issue Jun 11, 2021 · 1 comment
Labels
notebook-intellisense Intellisense & other language features in notebook cells for any language

Comments

@bschnurr
Copy link
Member

Maybe need to fake declarations for kernel variables before sending code to pylance.

Environment data

  • VS Code version: XXX
  • Jupyter Extension version (available under the Extensions sidebar): XXX
  • Python Extension version (available under the Extensions sidebar): XXX
  • OS (Windows | Mac | Linux distro) and version: XXX
  • Python and/or Anaconda version: XXX
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): XXX
  • Jupyter server running: Local | Remote | N/A

Expected behaviour

completions variable seen in Jupyter:variables table shouldn't be undefined

Actual behaviour

completions variable of type Dataframe undefined

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. XXX

image

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

@bschnurr bschnurr added the bug Issue identified by VS Code Team member as probable bug label Jun 11, 2021
@greazer greazer added enhancement and removed bug Issue identified by VS Code Team member as probable bug labels Jun 14, 2021
@greazer greazer added the notebook-intellisense Intellisense & other language features in notebook cells for any language label Aug 2, 2021
@greazer greazer added this to the October 2021 milestone Oct 10, 2021
@rchiodo
Copy link
Contributor

rchiodo commented Oct 27, 2021

This is very simlar to #6987. Closing as a dupe of that.

@rchiodo rchiodo closed this as completed Oct 27, 2021
@rchiodo rchiodo removed this from the Long Discussions milestone Oct 27, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
notebook-intellisense Intellisense & other language features in notebook cells for any language
Projects
None yet
Development

No branches or pull requests

5 participants