issue_comments: 643655275
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/pull/4144#issuecomment-643655275 | https://api.github.com/repos/pydata/xarray/issues/4144 | 643655275 | MDEyOklzc3VlQ29tbWVudDY0MzY1NTI3NQ== | 6213168 | 2020-06-13T17:44:43Z | 2020-06-13T17:44:43Z | MEMBER | I took the liberty to rework it, please have a look Test script: ```python from typing import Hashable, Mapping import xarray ds: xarray.Dataset class D(Hashable, Mapping): def hash(self): ... def getitem(self, item): ... def iter(self): ... def len(self): ... reveal_type(ds["foo"])
reveal_type(ds[["foo", "bar"]])
reveal_type(ds[{}])
reveal_type(ds[D()])
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
636611699 |