-
Notifications
You must be signed in to change notification settings - Fork 85
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
"'open_rasterio' is not exported from module 'rioxarray'" error reported by Pylance linting #680
Comments
Since you are on the insider version, it may be worthwhile to raise the issue with pylance. |
I can do that, but it should be noted that this also occurs on the LTS version for Mac. I wonder if it has anything to do with how |
This is what the error is likely complaining about: rioxarray/rioxarray/__init__.py Line 7 in ec26269
However, I don't think that pylance should care about private imports within the same package. |
I believe this is due to missing |
I'm not so sure this is a bug as everything still technically functions fine so I'm including it in feature requests.
Pylance in VS Code (v1.80.0-insider (Universal)) throws a pyright
reportPrivateImportUsage
error when accessingopen_rasterio
fromrioxarray
.For people who rely on
reportPrivateImportUsage
this is a bit annoying.Steps to reproduce:
Use VS Code (Insider or regular) with Pylance and lint the following lines:
The text was updated successfully, but these errors were encountered: