def _item_sources(self) -> Iterable[Mapping[Hashable, Any]]:
        """Places to look-up items for key-completion"""
        yield FilteredMapping(keys=self._coords, mapping=self.coords)

        # virtual coordinates
        yield FilteredMapping(keys=self.dims, mapping=self.coords)
Places to look-up items for key-completion
xarray/core/dataarray.py