From 3d59258bf18186c926013d868ae76cbbf178ae70 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Tue, 19 Sep 2023 01:32:04 -0700 Subject: [PATCH] Revert mistaken push --- xarray/core/common.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xarray/core/common.py b/xarray/core/common.py index 06a291932a7..ade701457c6 100644 --- a/xarray/core/common.py +++ b/xarray/core/common.py @@ -46,7 +46,6 @@ DTypeLikeSave, ScalarOrArray, SideOptions, - Self, T_Chunks, T_DataWithCoords, T_Variable, @@ -811,11 +810,11 @@ def pipe( return func(self, *args, **kwargs) def rolling_exp( - self, + self: T_DataWithCoords, window: Mapping[Any, int] | None = None, window_type: str = "span", **window_kwargs, - ) -> RollingExp[Self]: + ) -> RollingExp[T_DataWithCoords]: """ Exponentially-weighted moving window. Similar to EWM in pandas