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/pull/5477#issuecomment-1323755762,https://api.github.com/repos/pydata/xarray/issues/5477,1323755762,IC_kwDOAMm_X85O5ujy,43316012,2022-11-22T14:22:33Z,2022-11-22T14:22:33Z,COLLABORATOR,"Yes exactly, that would be the intended way of working with dimensions/variables that are iterablea themself, like tuples.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,922926807 https://github.com/pydata/xarray/pull/5477#issuecomment-1323694111,https://api.github.com/repos/pydata/xarray/issues/5477,1323694111,IC_kwDOAMm_X85O5fgf,43316012,2022-11-22T13:39:11Z,2022-11-22T13:39:11Z,COLLABORATOR,"> So we'd keep `str | Iterable[Hashable]`, and still raise an error if a tuple was passed directly (i.e. `method(dim=('a','b'))` I would say that a tuple is fine, it IS an iterable of hashable ;)","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,922926807 https://github.com/pydata/xarray/pull/5477#issuecomment-1322745490,https://api.github.com/repos/pydata/xarray/issues/5477,1322745490,IC_kwDOAMm_X85O136S,43316012,2022-11-21T22:37:09Z,2022-11-21T22:37:09Z,COLLABORATOR,"I think this should be also aligned with `str | Iterable[Hashable]`, so maybe `str | DataArray | Iterable[Hashable | DataArray]`? And then reverse the isinstance checks (do not capture tuple and list explicitly, but str).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,922926807