diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index a09a857e331..3f809087f82 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -441,7 +441,7 @@ def merge_data_and_coords(data_vars: DataVars, coords) -> _MergeResult: ) -class DataVariables(Mapping[Any, "DataArray"]): +class DataVariables(Mapping[Any, "xarray.DataArray"]): __slots__ = ("_dataset",) def __init__(self, dataset: Dataset): @@ -523,7 +523,7 @@ class Dataset( DataWithCoords, DatasetAggregations, DatasetArithmetic, - Mapping[Hashable, "DataArray"], + Mapping[Hashable, "xarray.DataArray"], ): """A multi-dimensional, in memory, array database.