-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Change isinstance checks to duck Dask Array checks #4208 #4221
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
27 commits
Select commit
Hold shift + click to select a range
1d00df3
Change isinstance checks to duck Dask Array checks #4208
1ec28ec
Use is_dask_collection in is_duck_dask_array
817c35d
Use is_dask_collection in is_duck_dask_array
03bfaa7
Merge branch 'master' of https://github.com/pydata/xarray into issue4208
bd770e1
Revert to isinstance checks according to review discussion
299b518
Merge branch 'master' of https://github.com/pydata/xarray into issue4208
8ca52f6
Move is_duck_dask_array to pycompat.py and use tokenize for comparisons
e405c57
isort
5b95264
Merge branch 'master' of https://github.com/pydata/xarray into issue4208
dcffe07
Implement `is_duck_array` to replace `is_array_like`
aacef50
Skip numpy duck array tests when NEP18 is not active
37e766f
Merge branch 'master' of https://github.com/pydata/xarray into issue4208
13be9c2
Merge branch 'master' into issue4208
dcherian 457e36c
Merge branch 'master' of https://github.com/pydata/xarray into issue4208
fd1db22
Use utils.is_duck_array in xarray/core/formatting.py
3d81fcd
Revert back to isinstance check for iris cube
3337b6f
Merge branch 'issue4208' of https://github.com/rpmanser/xarray into i…
4bb8ca3
Merge branch 'master' of https://github.com/pydata/xarray into issue4208
f2cbf1e
Add is_duck_array_or_ndarray function to utils
d6189a9
Use is_duck_array_or_ndarray for duck array checks without NEP18
70fc50c
Remove is_duck_dask_array_or_ndarray, replace checks with is_duck_array
91c283a
Remove is_duck_array check for deep copy
3cbcbb2
Merge branch 'master' of https://github.com/pydata/xarray into issue4208
a51eb66
Use is_duck_array check in load
256d43d
Move duck dask array tokenize tests from test_units.py to test_dask.py
80ddaa0
Merge branch 'issue4208' of https://github.com/rpmanser/xarray into i…
4e7409c
Use _importorskip to require pint >=0.15 instead of pytest.mark.skipif
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
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
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.
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.