-
Notifications
You must be signed in to change notification settings - Fork 364
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
Enable autocompletion on Python language servers #7068
Comments
Interesting... do you know, does an |
Also, I am not able to reproduce the error you are seeing either by running In vscode I can go-to-def so it seems to understand what determined files to look at, but I don't see any warnings or errors. Is there a setting or something I'm missing? Can you run |
Hey @rb-determined-ai!
I checked Pylance's logs but they did not provide any relevant information Also I am running the latest |
Hi!
It seems that the Determined Python package is not compatible with Python language servers because of the way it exports classes/members in
__init__.py
files.Issue in VSCode (PyLance/PyRight language server)
Fix example
Example fix proposed for this file:
determined/harness/determined/keras/__init__.py
Lines 13 to 20 in 728078b
Result after fix
Please note that this should be applied to the entire repo as it does not only concern this file.
The text was updated successfully, but these errors were encountered: