diff --git a/xarray/core/dataarray.py b/xarray/core/dataarray.py index e909e456ce7..aa433623d09 100644 --- a/xarray/core/dataarray.py +++ b/xarray/core/dataarray.py @@ -460,7 +460,7 @@ def __init__( # These fully describe a DataArray self._variable = variable # Variables can have undefined data type according to MyPy due to the fastpath - self._coords: Sequence[Sequence | pd.Index | DataArray] | Mapping = coords # type: ignore[assignment] + self._coords: Sequence[Sequence | pd.Index | DataArray] | Mapping = coords # type: ignore[assignment] self._name = name self._indexes = indexes # type: ignore[assignment]