From ed10140709dbed4c2298786ae50feeb3c15e1b25 Mon Sep 17 00:00:00 2001 From: dcherian Date: Sun, 24 Oct 2021 10:56:28 +0530 Subject: [PATCH] Fix isort + update whats-new --- doc/whats-new.rst | 4 +++- xarray/core/_reductions.py | 2 +- xarray/util/generate_reductions.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 1271ce37b91..344d4fe2185 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -87,7 +87,9 @@ Documentation - Users are instructed to try ``use_cftime=True`` if a ``TypeError`` occurs when combining datasets and one of the types involved is a subclass of ``cftime.datetime`` (:pull:`5776`). By `Zeb Nicholls `_. - Better examples in docstrings for groupby and resampling reductions. - By `Deepak Cherian `_. + By `Deepak Cherian `_, + `Maximilian Roos `_, + `Jimmy Westling `_ . - A clearer error is now raised if a user attempts to assign a Dataset to a single key of another Dataset. (:pull:`5839`) By `Tom Nicholas `_. diff --git a/xarray/core/_reductions.py b/xarray/core/_reductions.py index 74f5c1e1183..1da8038c2cf 100644 --- a/xarray/core/_reductions.py +++ b/xarray/core/_reductions.py @@ -1,7 +1,7 @@ """Mixin classes with reduction operations.""" # This file was generated using xarray.util.generate_reductions. Do not edit manually. -from typing import Optional, Callable, Union, Sequence, Hashable, Protocol, Any +from typing import Any, Callable, Hashable, Optional, Protocol, Sequence, Union from . import duck_array_ops from .types import T_DataArray, T_Dataset diff --git a/xarray/util/generate_reductions.py b/xarray/util/generate_reductions.py index b22a86f0aa9..2afae42a2fc 100644 --- a/xarray/util/generate_reductions.py +++ b/xarray/util/generate_reductions.py @@ -22,7 +22,7 @@ """Mixin classes with reduction operations.""" # This file was generated using xarray.util.generate_reductions. Do not edit manually. -from typing import Optional, Callable, Union, Sequence, Hashable, Protocol, Any +from typing import Any, Callable, Hashable, Optional, Protocol, Sequence, Union from . import duck_array_ops from .types import T_DataArray, T_Dataset'''