From e6ec62b7c643fc50d7381947f2487f0b2cc3700b Mon Sep 17 00:00:00 2001 From: Deepak Cherian Date: Wed, 18 Dec 2024 18:08:25 -0700 Subject: [PATCH] Revert "Apply suggestions from code review" This reverts commit 1b9845dfafb51b181bb9559dd0c0e7e395a12552. --- xarray/core/dataset.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index cffa153bf14..d6ffa7308a3 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -2925,12 +2925,7 @@ def _validate_interp_indexers( elif is_scalar(v): yield k, Variable((), v, attrs=self.coords[k].attrs) elif isinstance(v, np.ndarray): - yield ( - k, - Variable( - dims=(k,), data=v, attrs=self.coords[k].attrs, fastpath=True - ), - ) + yield k, Variable(dims=(k,), data=v, attrs=self.coords[k].attrs) else: raise TypeError(type(v))