home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1185493369

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/6784#issuecomment-1185493369 https://api.github.com/repos/pydata/xarray/issues/6784 1185493369 IC_kwDOAMm_X85GqTF5 14371165 2022-07-15T12:23:38Z 2022-07-15T12:23:38Z MEMBER

xarray/core/concat.py:486: error: List comprehension has incompatible type List[Dataset]; expected List[T_Dataset] [misc] xarray/core/concat.py:618: error: Incompatible return value type (got "Dataset", expected "T_Dataset") [return-value] xarray/core/concat.py:654: error: Incompatible types in assignment (expression has type "DataArray", variable has type "T_DataArray") [assignment]

https://github.com/pydata/xarray/blob/c190b36ceda84b0af0e7f30c009233cda1af2b48/xarray/core/concat.py#L486 https://github.com/pydata/xarray/blob/c190b36ceda84b0af0e7f30c009233cda1af2b48/xarray/core/concat.py#L618 https://github.com/pydata/xarray/blob/c190b36ceda84b0af0e7f30c009233cda1af2b48/xarray/core/concat.py#L654

Slightly annoying errors here. .rename returns DataArray but apparently that not's a T_DataArray. What's the trick to avoid this?

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