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/6970#issuecomment-1258641481,https://api.github.com/repos/pydata/xarray/issues/6970,1258641481,IC_kwDOAMm_X85LBVhJ,43316012,2022-09-26T21:15:58Z,2022-09-26T21:16:10Z,COLLABORATOR,"It is not an easy fix since we do not simply want to return None, and returning an empty dict in this case without overwriting the internal one would break things like `da.attrs.update(some_dict)`. We would have to replace the internal `_attrs` already in the `__init__`, but not sure what else that would break. Maybe the solution from @dcherian is the best for now.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1355807694 https://github.com/pydata/xarray/issues/6970#issuecomment-1244149076,https://api.github.com/repos/pydata/xarray/issues/6970,1244149076,IC_kwDOAMm_X85KKDVU,2448579,2022-09-12T18:43:53Z,2022-09-12T18:43:53Z,MEMBER,"A less invasive change would be to pass `self._attrs or {}` here: https://github.com/pydata/xarray/blob/b018442c8dfa3e71ec35e294de69e2011949afec/xarray/core/dataset.py#L746-L751 (and similarly in all the other `tokenize` functions) but lets see what @crusaderky thinks. These are strictly different, but the difference should not matter for the user.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1355807694