-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add casts and add suppression to make pyright happy
This commit fixes some problems found by `pyright`: * In the DuckDB test, a `bytes` parameter is wrongly annotated as `str` in the stub files of that Python module. We silence that false positive with a suppression. * In the test for converting MLIR ops to plans, we use some op-specific members on an object whose most narrow known type is `MlirOperation`, so the commit adds a `cast` to make the `typing` information more precise.
- Loading branch information
1 parent
cd67237
commit 7c3a473
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters