html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/6578#issuecomment-1122555824,https://api.github.com/repos/pydata/xarray/issues/6578,1122555824,IC_kwDOAMm_X85C6New,2448579,2022-05-10T15:37:11Z,2022-05-10T15:37:11Z,MEMBER,Thanks @douglasdavis !,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1228474784
https://github.com/pydata/xarray/issues/6578#issuecomment-1122491565,https://api.github.com/repos/pydata/xarray/issues/6578,1122491565,IC_kwDOAMm_X85C59yt,3202090,2022-05-10T14:43:39Z,2022-05-10T14:43:39Z,NONE,The change to `is_dask_collection` has been reverted (https://github.com/dask/dask/pull/9062),"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1228474784
https://github.com/pydata/xarray/issues/6578#issuecomment-1120217016,https://api.github.com/repos/pydata/xarray/issues/6578,1120217016,IC_kwDOAMm_X85CxSe4,14808389,2022-05-07T14:12:25Z,2022-05-07T22:39:35Z,MEMBER,"my guess is that this is due to the merge of dask/dask#8674 and a follow-up PR, which changed `dask.is_dask_collection` from
```python
def is_dask_collection(x)
try:
return x.__dask_graph__() is not None
except (AttributeError, TypeError):
return False
```
to
```python
def is_dask_collection(x):
return hasattr(x, ""__dask_graph__"") and callable(x.__dask_graph__) and inspect.isclass(x)
```
This means that it never actually calls `__dask_graph__`, which is not ideal because `xarray` objects return `None` if the wrapped array is not a dask collection.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1228474784