-
Notifications
You must be signed in to change notification settings - Fork 170
fix(typing): Overhaul @overloads in nw.from_native
#3125
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
Draft
dangotbanned
wants to merge
36
commits into
main
Choose a base branch
from
from-native-overloads
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+622
β689
Draft
Changes from 24 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
d5a126d
fix(typing): Huuuuuuuge progress
dangotbanned 39bb6b3
test(typing): Add `pa.ChunkedArray` into the mix
dangotbanned c7cf5ae
test: Rename variables
dangotbanned 6f56dc0
test: Cover w/ `pass_through=True` as well
dangotbanned d72ce2d
test: Use `assert_type` and runtime checks
dangotbanned 94029ed
test: rename test
dangotbanned 0358cc9
test: Insane `LazyFrame` coverage
dangotbanned 43ceb3f
revert: wont be using that one
dangotbanned ceaf9e7
refactor(typing): Factor out another pair
dangotbanned d988a24
refactor(typing): Add single `pass_through` case
dangotbanned cc5588b
revert: never used them
dangotbanned 1cab6d0
refactor: Invert `NotRequired` -> `Required`
dangotbanned ff6258d
refactor: Rename all `TypedDict`s
dangotbanned a0095b1
style: Remove whitespace
dangotbanned 06d74a3
Merge remote-tracking branch 'upstream/main' into from-native-overloads
dangotbanned c02ab37
Merge branch 'main' into from-native-overloads
dangotbanned 5b6ca5f
Merge branch 'main' into from-native-overloads
dangotbanned 4142e43
Merge remote-tracking branch 'upstream/main' into from-native-overloads
dangotbanned 2e7a0ae
chore: fix merge conflicts
dangotbanned 435beb4
refactor: Move new `TypedDict`s to `_translate.py`
dangotbanned 0605936
fix(typing): More gracefully handle narwhals in overloads
dangotbanned 67bb52f
revert: Remove now-unused `kwds`
dangotbanned fd7ab16
refactor(typing): Update `v2`
dangotbanned 9a8c025
refactor(DRAFT): Start shrinking `v1`
dangotbanned c61af03
refactor(typing): Add `AllowAny` variants
dangotbanned 252bcdb
refactor(typing): Add `AllowSeries` variants
dangotbanned c887618
refactor(typing): Add `OnlySeries` variants
dangotbanned 99527d5
refactor(typing): Add `ExcludeSeries` variants
dangotbanned 1dc56f0
refactor(typing): Add `AllowLazy` variants
dangotbanned 10e7ddf
refactor(typing): Add `OnlyEagerOrInterchange` variants
dangotbanned 1c498aa
chore: remove notes
dangotbanned 4e37df6
chore: Fix those imports for `v1` too
dangotbanned f372696
oop missed a spot
dangotbanned 459598f
chore: remove some comments
dangotbanned 58590e4
Merge remote-tracking branch 'upstream/main' into from-native-overloads
dangotbanned bd90c1f
Merge branch 'main' into from-native-overloads
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.