File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 99from abc import ABC , abstractmethod
1010from functools import reduce
1111from importlib .util import find_spec
12- from typing import Any , Optional
12+ from typing import Any
1313
1414import pandas as pd
1515import xarray as xr
@@ -127,7 +127,7 @@ def get_capabilities(self) -> pd.DataFrame:
127127 return self .capabilities
128128
129129 def get_coverage_description (
130- self , coverage_id : str , ensemble_numbers : list [Optional [ int ] ] | None = None
130+ self , coverage_id : str , ensemble_numbers : list [int | None ] | None = None
131131 ) -> dict [str , Any ]:
132132 """Return the available axis (times, heights) of a coverage.
133133
@@ -140,7 +140,7 @@ def get_coverage_description(
140140 Returns:
141141 A dictionary containing more info on the coverage.
142142 """
143- numbers_to_fetch : list [Optional [ int ] ]
143+ numbers_to_fetch : list [int | None ]
144144
145145 if self .MODEL_TYPE == "ENSEMBLE" :
146146 if ensemble_numbers is None :
You can’t perform that action at this time.
0 commit comments