Skip to content
forked from pydata/xarray

Commit

Permalink
Rewrite typed_ops (pydata#8204)
Browse files Browse the repository at this point in the history
* rewrite typed_ops

* improved typing of rolling instance attrs

* add typed_ops xr.Variable tests

* add typed_ops test

* add minor typehint

* adjust to numpy 1.24

* add groupby ops type tests

* remove wrong types from ops

* fix Dataset not being part of SupportsArray Protocol

* ignore mypy align complaint

* add reasons for type ignores in test

* add overloads for variable typed ops

* move tests to their own module

* add entry to whats-new
  • Loading branch information
headtr1ck authored Sep 25, 2023
1 parent 05b3a21 commit 565b23b
Show file tree
Hide file tree
Showing 11 changed files with 827 additions and 1,157 deletions.
3 changes: 3 additions & 0 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ Bug fixes
By `Maximilian Roos <https://github.com/max-sixty>`_.
- In the event that user-provided datetime64/timedelta64 units and integer dtype encoding parameters conflict with each other, override the units to preserve an integer dtype for most faithful serialization to disk (:issue:`1064`, :pull:`8201`).
By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.
- Static typing of dunder ops methods (like :py:meth:`DataArray.__eq__`) has been fixed.
Remaining issues are upstream problems (:issue:`7780`, :pull:`8204`).
By `Michael Niklas <https://github.com/headtr1ck>`_.

Documentation
~~~~~~~~~~~~~
Expand Down
Loading

0 comments on commit 565b23b

Please sign in to comment.