home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1117586922

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/5734#issuecomment-1117586922 https://api.github.com/repos/pydata/xarray/issues/5734 1117586922 IC_kwDOAMm_X85CnQXq 14371165 2022-05-04T16:57:40Z 2022-05-04T16:57:40Z MEMBER

There's a bit of mypy errors now. Maybe just removĂ­ng _flox_reduce in _reductions.py is enough?

``` Successfully installed types-PyYAML-6.0.7 types-cryptography-3.3.21 types-paramiko-2.10.0 types-python-dateutil-2.8.14 types-pytz-2021.3.7 types-setuptools-57.4.14 xarray/backends/locks.py:10: error: Cannot assign to a type [misc] xarray/backends/locks.py:10: error: Incompatible types in assignment (expression has type "Type[Lock]", variable has type "Type[SerializableLock]") [assignment] xarray/backends/locks.py:15: error: Cannot assign to a type [misc] xarray/backends/locks.py:15: error: Incompatible types in assignment (expression has type "None", variable has type "Type[Lock]") [assignment] xarray/core/types.py:19: error: Cannot assign to a type [misc] xarray/core/types.py:19: error: Incompatible types in assignment (expression has type "Type[ndarray[Any, Any]]", variable has type "Type[Array]") [assignment] xarray/core/dask_array_compat.py:11: error: Incompatible types in assignment (expression has type "None", variable has type Module) [assignment] xarray/core/duck_array_ops.py:33: error: Incompatible types in assignment (expression has type "None", variable has type Module) [assignment] xarray/core/nanops.py:14: error: Incompatible types in assignment (expression has type "None", variable has type Module) [assignment] xarray/core/_reductions.py:15: error: Skipping analyzing "flox": module is installed, but missing library stubs or py.typed marker [import] xarray/core/_reductions.py:15: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports xarray/core/_reductions.py:3194: error: "DatasetResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:3203: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:3278: error: "DatasetResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:3287: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:3362: error: "DatasetResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:3371: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:3462: error: "DatasetResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:3472: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:3564: error: "DatasetResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:3574: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:3670: error: "DatasetResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:3680: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:3793: error: "DatasetResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:3804: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:3918: error: "DatasetResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:3929: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:4040: error: "DatasetResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:4051: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:4162: error: "DatasetResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:4173: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:4269: error: "DatasetResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:5418: error: "DataArrayResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:5426: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:5495: error: "DataArrayResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:5503: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:5572: error: "DataArrayResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:5580: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:5663: error: "DataArrayResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:5672: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:5756: error: "DataArrayResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:5765: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:5853: error: "DataArrayResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:5862: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:5965: error: "DataArrayResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:5975: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:6079: error: "DataArrayResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:6089: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:6190: error: "DataArrayResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:6200: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:6301: error: "DataArrayResampleReductions" has no attribute "_flox_reduce" [attr-defined] xarray/core/_reductions.py:6311: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/_reductions.py:6399: error: "DataArrayResampleReductions" has no attribute "reduce" [attr-defined] xarray/core/groupby.py:584: error: Skipping analyzing "flox.xarray": module is installed, but missing library stubs or py.typed marker [import] xarray/core/dataset.py:113: error: Cannot assign to a type [misc] xarray/core/dataset.py:113: error: Incompatible types in assignment (expression has type "None", variable has type "Type[Delayed]") [assignment] xarray/core/dataset.py:1761: error: Incompatible return value type (got "Union[Tuple[ArrayWriter, AbstractDataStore], bytes, Delayed, None]", expected "Union[bytes, Delayed, None]") [return-value] xarray/core/dataarray.py:70: error: Cannot assign to a type [misc] xarray/core/dataarray.py:70: error: Incompatible types in assignment (expression has type "None", variable has type "Type[Delayed]") [assignment] xarray/core/_typed_ops.pyi:24: error: Cannot assign to a type [misc] xarray/core/_typed_ops.pyi:24: error: Incompatible types in assignment (expression has type "Type[ndarray[Any, Any]]", variable has type "Type[Array]") [assignment] xarray/backends/api.py:38: error: Cannot assign to a type [misc] xarray/backends/api.py:38: error: Incompatible types in assignment (expression has type "None", variable has type "Type[Delayed]") [assignment] xarray/tests/test_testing.py:13: error: Cannot infer type of lambda [misc] xarray/tests/test_testing.py:13: error: Incompatible types in assignment (expression has type "Callable[[Any], Any]", variable has type "Callable[[Any, Any, Any, Any, Any, Any, Any, Any, Any], Any]") [assignment] Installing missing stub packages: /usr/share/miniconda/envs/xarray-tests/bin/python -m pip install types-PyYAML types-paramiko types-python-dateutil types-pytz types-setuptools ```
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  978356586
Powered by Datasette · Queries took 0.927ms · About: xarray-datasette