We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d19e322 commit 465721fCopy full SHA for 465721f
1 file changed
src/cubedynamics/utils/dims.py
@@ -2,15 +2,15 @@
2
3
from __future__ import annotations
4
5
-from typing import Tuple
+from typing import Optional, Tuple
6
7
import numpy as np
8
import xarray as xr
9
10
from cubedynamics.config import TIME_DIM
11
12
13
-TimeYX = Tuple[str | None, str, str]
+TimeYX = Tuple[Optional[str], str, str]
14
15
16
def _infer_time_y_x_dims(obj: xr.DataArray | xr.Dataset) -> TimeYX:
0 commit comments