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/7258#issuecomment-1311932036,https://api.github.com/repos/pydata/xarray/issues/7258,1311932036,IC_kwDOAMm_X85OMn6E,43316012,2022-11-11T16:41:10Z,2022-11-11T16:41:10Z,COLLABORATOR,"The problem is that a dict is invariant in it's keys so your variable is a `dict[str, Any]` but the function was typed as `dict[Hashable, Any]`. Now the problem is that a dict is mutable and the function could modify the dict, but it might write non-str keys, which you might not expect.
Why it does not work with a `Mapping` that in principle is read-only, I don't know.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1436755752
https://github.com/pydata/xarray/issues/7258#issuecomment-1304594086,https://api.github.com/repos/pydata/xarray/issues/7258,1304594086,IC_kwDOAMm_X85Nwoam,43316012,2022-11-05T17:17:34Z,2022-11-05T17:17:34Z,COLLABORATOR,"I think we have to change the typing to `Mapping[Any, Mapping[str, Any] | None`
This should be a simple PR, could I interest you in submitting one?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1436755752
https://github.com/pydata/xarray/issues/7258#issuecomment-1304445687,https://api.github.com/repos/pydata/xarray/issues/7258,1304445687,IC_kwDOAMm_X85NwEL3,43316012,2022-11-05T08:51:04Z,2022-11-05T08:51:04Z,COLLABORATOR,"Invariance strikes again...
Could you check if it is fixed if you annotate your dict as `dict[typing.Hashable, dict[str, typing.Any]]`?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1436755752