home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 998127749

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/6086#issuecomment-998127749 https://api.github.com/repos/pydata/xarray/issues/6086 998127749 IC_kwDOAMm_X847fjiF 35968931 2021-12-20T17:24:43Z 2021-12-20T17:24:43Z MEMBER

Thanks @max-sixty . Unfortunately changing Dict[Hashable, V] -> Dict[Any, V] and CopyableMutableMapping[Hashable, Variable] -> CopyableMutableMapping[Any, Variable] doesn't seem to help, I just get similar errors but with Any:

xarray/core/dataarray.py:538: error: Argument 1 to "_construct_direct" of "Dataset" has incompatible type "Dict[Any, Variable]"; expected "CopyableMutableMapping[Any, Variable]" [arg-type] xarray/core/dataarray.py:538: note: Following member(s) of "Dict[Any, Variable]" have conflicts: xarray/core/dataarray.py:538: note: Expected: xarray/core/dataarray.py:538: note: @overload xarray/core/dataarray.py:538: note: def update(self, other: Mapping[Any, Variable], **kwargs: Variable) -> None xarray/core/dataarray.py:538: note: @overload xarray/core/dataarray.py:538: note: def update(self, other: Iterable[Tuple[Any, Variable]], **kwargs: Variable) -> None xarray/core/dataarray.py:538: note: <1 more overload not shown> xarray/core/dataarray.py:538: note: Got: xarray/core/dataarray.py:538: note: @overload xarray/core/dataarray.py:538: note: def update(self, Mapping[Any, Variable], **kwargs: Variable) -> None xarray/core/dataarray.py:538: note: @overload xarray/core/dataarray.py:538: note: def update(self, Iterable[Tuple[Any, Variable]], **kwargs: Variable) -> None

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