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
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.
Also, I am not able to reproduce the error you are seeing either by running pyright directly on a main.py like yours, or by installing the python plugin to vscode and opening such a file.
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 pyright directly and get the same error message?
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: