home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 963399639

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/5950#issuecomment-963399639 https://api.github.com/repos/pydata/xarray/issues/5950 963399639 IC_kwDOAMm_X845bE_X 2448579 2021-11-08T17:37:39Z 2021-11-08T17:37:39Z MEMBER

Could use some help with typing...

xarray/tests/test_groupby.py:77: error: Invalid self argument "Dataset" to attribute function "sum" with type "Callable[[DatasetReduce, Optional[Hashable], Optional[bool], Optional[int], Optional[bool], KwArg(Any)], T_Dataset]" [misc] xarray/tests/test_groupby.py:77: error: Need type annotation for "expected" [var-annotated] xarray/tests/test_groupby.py:460: error: Invalid self argument "Dataset" to attribute function "mean" with type "Callable[[DatasetReduce, Optional[Hashable], Optional[bool], Optional[bool], KwArg(Any)], T_Dataset]" [misc] xarray/tests/test_groupby.py:460: error: <nothing> has no attribute "where" [attr-defined] xarray/tests/test_groupby.py:646: error: Invalid self argument "Dataset" to attribute function "mean" with type "Callable[[DatasetReduce, Optional[Hashable], Optional[bool], Optional[bool], KwArg(Any)], T_Dataset]" [misc] xarray/tests/test_groupby.py:646: error: Need type annotation for "expected" [var-annotated] xarray/tests/test_groupby.py:658: error: Invalid self argument "DataArray" to attribute function "mean" with type "Callable[[DataArrayReduce, Optional[Hashable], Optional[bool], Optional[bool], KwArg(Any)], T_DataArray]" [misc] xarray/tests/test_groupby.py:658: error: <nothing> has no attribute "variable" [attr-defined] xarray/tests/test_computation.py:1867: error: Invalid self argument "DataArray" to attribute function "sum" with type "Callable[[DataArrayReduce, Optional[Hashable], Optional[bool], Optional[int], Optional[bool], KwArg(Any)], T_DataArray]" [misc] xarray/tests/test_computation.py:1867: error: Need type annotation for "expected" [var-annotated] xarray/tests/test_computation.py:1867: error: Argument 1 to "sum" of "DataArrayReductions" has incompatible type "List[str]"; expected "Optional[Hashable]" [arg-type] xarray/tests/test_computation.py:1867: note: Following member(s) of "List[str]" have conflicts: xarray/tests/test_computation.py:1867: note: __hash__: expected "Callable[[], int]", got "None" xarray/tests/test_computation.py:1871: error: Invalid self argument "DataArray" to attribute function "sum" with type "Callable[[DataArrayReduce, Optional[Hashable], Optional[bool], Optional[int], Optional[bool], KwArg(Any)], T_DataArray]" [misc] xarray/tests/test_computation.py:1882: error: Invalid self argument "DataArray" to attribute function "sum" with type "Callable[[DataArrayReduce, Optional[Hashable], Optional[bool], Optional[int], Optional[bool], KwArg(Any)], T_DataArray]" [misc] xarray/tests/test_computation.py:1882: error: Argument 1 to "sum" of "DataArrayReductions" has incompatible type "List[str]"; expected "Optional[Hashable]" [arg-type] xarray/tests/test_computation.py:1882: note: Following member(s) of "List[str]" have conflicts: xarray/tests/test_computation.py:1882: note: __hash__: expected "Callable[[], int]", got "None" xarray/tests/test_computation.py:1887: error: Invalid self argument "DataArray" to attribute function "sum" with type "Callable[[DataArrayReduce, Optional[Hashable], Optional[bool], Optional[int], Optional[bool], KwArg(Any)], T_DataArray]" [misc] xarray/tests/test_computation.py:1887: error: Argument 1 to "sum" of "DataArrayReductions" has incompatible type "List[str]"; expected "Optional[Hashable]" [arg-type] xarray/tests/test_computation.py:1887: note: Following member(s) of "List[str]" have conflicts: xarray/tests/test_computation.py:1887: note: __hash__: expected "Callable[[], int]", got "None" xarray/tests/test_computation.py:1892: error: Invalid self argument "DataArray" to attribute function "sum" with type "Callable[[DataArrayReduce, Optional[Hashable], Optional[bool], Optional[int], Optional[bool], KwArg(Any)], T_DataArray]" [misc] xarray/tests/test_computation.py:1892: error: Argument 1 to "sum" of "DataArrayReductions" has incompatible type "List[str]"; expected "Optional[Hashable]" [arg-type] xarray/tests/test_computation.py:1892: note: Following member(s) of "List[str]" have conflicts: xarray/tests/test_computation.py:1892: note: __hash__: expected "Callable[[], int]", got "None"

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