home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1426084810

This data as json

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/7519#issuecomment-1426084810 https://api.github.com/repos/pydata/xarray/issues/7519 1426084810 IC_kwDOAMm_X85VAFPK 2443309 2023-02-10T16:57:54Z 2023-02-10T16:57:54Z MEMBER

Thanks for the report @derhintze. I agree this seems like a bug. I'm a bit confused by this actually. Our __getitem__ implementation is here:

https://github.com/pydata/xarray/blob/7683442774c8036e0b13851df62bda067b2a65d5/xarray/core/dataset.py#L1418-L1441

and the keys view of a dataset is not hashable:

python isinstance(d.keys(), typing.Hashable) False

Which should be triggering the second @overload in the code above. So I'm not sure what's going on!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1579956621
Powered by Datasette · Queries took 0.663ms · About: xarray-datasette