We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ebe7f9 commit ddb6d3bCopy full SHA for ddb6d3b
xarray/core/dataarray.py
@@ -459,7 +459,8 @@ def __init__(
459
460
# These fully describe a DataArray
461
self._variable = variable
462
- self._coords = coords
+ # Variables can have undefined data type according to MyPy due to the fastpath
463
+ self._coords: Sequence[Sequence | pd.Index | DataArray] | Mapping = coords # type: ignore[assignment]
464
self._name = name
465
self._indexes = indexes # type: ignore[assignment]
466
0 commit comments