-
Notifications
You must be signed in to change notification settings - Fork 2
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
gives error on correct type: polars.CSVDataset
in catalog
#79
Comments
Similar to #5, but not exactly 🤔 |
There is an experimental flag in settings, if you turn it off does it helps? Make sure you restarted vscode too as I found it sometimes caching the extension in an unexpected way. |
@pietroppeter I saw you give an thumbs up emoji, just want to be sure if the We may have some time to clean up some bugs after that. |
hi @noklam, no the experimental flag disabled did not help (I did restart VS code). sorry but this week cannot follow up more, will try maybe next week to create a small reproducible project (it should not be too hard). not at all an urgent thing for me anyway |
@pietroppeter thanks a lot for the feedback! No rush at all, I will see if I can fix this. |
@jitu5 Do you have any thought on this? I think for other features it's easier to disable with a flag, for YAML schema validation, it's done via the i am trying to look at https://github.com/redhat-developer/vscode-yaml but cannot find a proper API to use. In additional, we shouldn't get stuck with the current status if better alternative exists. We want it to be flexible enough to support custom dataset eventually, so pointing to a fix URL isn't a good idea anyway. I tried to ask but there is very little activity on the repo.
|
@noklam from https://github.com/redhat-developer/yaml-language-server Is it possible to have a custom schema file with a missing property, like the one shown in the documentation?
in our case
I tried the above, but for some reason, it didn’t work. I’m also not entirely sure if this is the correct approach. Additionally, I couldn’t find a clear way to disable it from docs. |
I am closing this issue, as this is exactly the same problem as #5 to keep the discussion in one place. |
Description
When using the extension with an element in catalog that has a
polars.CSVDataset
the extension reports error because the type is not in one of the allowed ones (it fails the recognize the installation ofkedro-datasets[polars]
Screenshot:
Context
I see the extension is very new and looks very nice and useful. It is not a big problem for me at the moment.
I am wondering if there is a workaround where I can tell LSP to shutup and do not show the error.
Steps to Reproduce
kedro-datasets[polars]
element in catalogChecklist
Cmd + P
andPython: Select Interpreter
Expected Result
do not report error
Actual Result
reports error for polars.CSVDataset (screenshot above)
Your Environment
pip show kedro
orkedro -V
): version 0.19.8python -V
): 3.12.5The text was updated successfully, but these errors were encountered: