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
I've been starting to work with the Snowflake ML library and have noticed that I don't get much information about types to assist with docstrings, autocomplete, etc.
I believe the method used by modules to specify their exports may be preventing VS Code's language server from knowing the true types of exported objects and thus prevents showing of members, docstrings, etc.
Here is an example of trying to use snowflake.ml.modeling.pieline.Pipeline in VS Code with the Snowflake ML Pipeline vs scikit-learn's Pipeline:
Snowflake ML
Here, I've constructed a pipeline which does work, but doesn't show correct type information. You can see VS Code's language server detects Any for the pipe variables instead of Pipeline.
Scikit-learn
Here is the same constructs using scikit-learn, In this example, it properly detects that pipe is a Pipeline. With this, it allows me to auto-complete methods and show docstring information as I'm going.
The text was updated successfully, but these errors were encountered:
I've been starting to work with the Snowflake ML library and have noticed that I don't get much information about types to assist with docstrings, autocomplete, etc.
I believe the method used by modules to specify their exports may be preventing VS Code's language server from knowing the true types of exported objects and thus prevents showing of members, docstrings, etc.
Here is an example of trying to use
snowflake.ml.modeling.pieline.Pipeline
in VS Code with the Snowflake ML Pipeline vs scikit-learn's Pipeline:Snowflake ML
Here, I've constructed a pipeline which does work, but doesn't show correct type information. You can see VS Code's language server detects
Any
for thepipe
variables instead ofPipeline
.Scikit-learn
Here is the same constructs using scikit-learn, In this example, it properly detects that
pipe
is aPipeline
. With this, it allows me to auto-complete methods and show docstring information as I'm going.The text was updated successfully, but these errors were encountered: