We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sliding_window_view is a public function, but it is inaccessible to type checkers.
sliding_window_view
import numpy as np np.lib.stride_tricks.sliding_window_view
pyright: "stride_tricks" is not a known member of module (reportGeneralTypeIssues)
1.22.3 3.10.2 (v3.10.2:a58ebcc, Mar 10 2022, 19:36:59) [GCC 9.4.0]
The text was updated successfully, but these errors were encountered:
np.lib.stride_tricks
Ah, found the problem: there is a typo in the re-exporting statement. The issue should be fixed as of #21185.
Sorry, something went wrong.
Great, thank you very much @BvB93!
Successfully merging a pull request may close this issue.
Describe the issue:
sliding_window_view
is a public function, but it is inaccessible to type checkers.Reproduce the code example:
Error message:
pyright: "stride_tricks" is not a known member of module (reportGeneralTypeIssues)
NumPy/Python version information:
1.22.3 3.10.2 (v3.10.2:a58ebcc, Mar 10 2022, 19:36:59) [GCC 9.4.0]
The text was updated successfully, but these errors were encountered: