-
Notifications
You must be signed in to change notification settings - Fork 179
fix(typing): Resolve all mypy & pyright errors for _arrow
#2007
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
Merged
Merged
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
e7f465f
fix(typing): Resolve all `pyright` warnings for `_arrow`
dangotbanned 0015ac1
Merge remote-tracking branch 'upstream/main' into typing-major-fixing-1
dangotbanned 1d24dec
chore(typing): add extra ignore
dangotbanned 286beeb
ci: omit `_arrow.typing.py` from coverage
dangotbanned 757c6bd
fix(typing): error: Name "ser" already defined on line 59 [no-redef]
dangotbanned b830aa2
fix(DRAFT): try reordering `maybe_extract_py_scalar` overloads
dangotbanned 5cadbed
ci(typing): re-enable `pyarrow-stubs`
dangotbanned 1e6eb75
fix: only check for `.ordered` when type can have property
dangotbanned 51ad255
fix(typing): use `utils.chunked_array`
dangotbanned 658c963
fix(typing): misc assignment/redef errors
dangotbanned 84033f1
fix(typing): error: "Table" has no attribute "__iter__" (not iterableβ¦
dangotbanned f35b01e
chore(typing): lie about `broadcast_series`
dangotbanned 1b537e7
fix(typing): error: Value of type variable "_ArrayT" of "concat_arrayβ¦
dangotbanned 89672e2
chore(DRAFT): add comment on `pyarrow.interchange.from_dataframe`
dangotbanned ce986e1
Merge remote-tracking branch 'upstream/main' into typing-major-fixing-1
dangotbanned 4d4a722
fix(typing): ambiguous `pyarrow.interchange.from_dataframe` import
dangotbanned e2940e7
chore(typing): help `mypy` match `@overload`
dangotbanned c7f23d5
chore(typing): mark `pc.max_element_wise` as `Incomplete` everywhere
dangotbanned b7d149d
chore(typing): more help `mypy` match `@overload`
dangotbanned 1445db8
test(typing): resolve `[assignment]`
dangotbanned 8c98172
test(typing): more `[assignment]`
dangotbanned a246ea7
test(typing): ignore `[arg-type]` when raising
dangotbanned cac7dbb
test(typing): even more `[assignment]`
dangotbanned 35f801b
test(typing): even more helping `@overload` match
dangotbanned 4a9ff86
test(typing): more ignore `[arg-type]` when raising
dangotbanned f86bf10
ci: ignore coverage within a test?
dangotbanned cf27f7d
test(typing): fix indirect `[assignment]` for `mypy`
dangotbanned 3bdf0e8
refactor: replace `pa.scalar` w/ `lit` alias
dangotbanned 27da267
fix(typing): use `nulls_like` in `Series.shift`
dangotbanned c43d092
fix(typing): widen `ArrowSeries.(mean|median)`
dangotbanned b549ee5
ci(typing): remove `pyarrow` comments
dangotbanned 483db21
refactor: reuse `nulls_like`
dangotbanned 44c8c52
feat(typing): correct methods returning `ArrowSeries[pa.BooleanScalar]`
dangotbanned bcec6f1
Merge remote-tracking branch 'upstream/main' into typing-major-fixing-1
dangotbanned 1b065f4
Merge branch 'main' into typing-major-fixing-1
dangotbanned 41c9661
feat(typing): `series_str` return annotations
dangotbanned 85b01a6
Merge remote-tracking branch 'upstream/main' into typing-major-fixing-1
dangotbanned adef6a0
refactor(typing): use `Incomplete` for `nulls_like`
dangotbanned 4a2cfc5
refactor(typing): mark `pc.binary_join_element_wise` as `Incomplete`
dangotbanned f704424
refactor(DRAFT): try simplifying `ArrowSeries.to_pandas`
dangotbanned f8617ff
revert: undo `ArrowSeries.to_pandas` change
dangotbanned b27665f
Merge remote-tracking branch 'upstream/main' into typing-major-fixing-1
dangotbanned ba2b3a5
refactor(typing): narrow to `aggs: list[tuple[str, str, Any]]`
dangotbanned 86e0c2a
Merge remote-tracking branch 'upstream/main' into typing-major-fixing-1
dangotbanned 8d13198
Merge remote-tracking branch 'upstream/main' into typing-major-fixing-1
dangotbanned e5887eb
remove unneeded no cover
MarcoGorelli a947cf6
arrow scalar to _arrow/typing
MarcoGorelli 5dcd2f3
rename to ArrowScalarT_co
MarcoGorelli 44560d1
refactor(typing): Define `__lib_pxi.types._BasicDataType` internally
dangotbanned 481a3e4
Merge remote-tracking branch 'upstream/main' into typing-major-fixing-1
dangotbanned 9c267c8
fix: Make `ArrowScalatT_co` available at runtime
dangotbanned 59af046
simplify
MarcoGorelli a18e1bc
Merge branch 'typing-major-fixing-1' of github.com:narwhals-dev/narwhβ¦
MarcoGorelli bc02cdb
refactor: avoid `pyarrow.__lib_pxi.types` in `utils`
dangotbanned 8c8dbe7
Merge branch 'typing-major-fixing-1' of https://github.com/narwhals-dβ¦
dangotbanned 8ca893c
fixup
MarcoGorelli e6cecbc
Merge branch 'typing-major-fixing-1' of https://github.com/narwhals-dβ¦
dangotbanned aa62a32
remove unalive code
MarcoGorelli 9507261
Merge branch 'typing-major-fixing-1' of github.com:narwhals-dev/narwhβ¦
MarcoGorelli 3ea9674
last one
MarcoGorelli 9bba7aa
fixup tests
MarcoGorelli 1ceda96
fixup typing
MarcoGorelli 837f0e6
pyright ignore
dangotbanned File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.