Skip to content

Commit d1be98d

Browse files
committed
Correct type hint
1 parent b9e9046 commit d1be98d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CSET/operators/read.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class NoDataError(FileNotFoundError):
5050

5151
def read_cube(
5252
file_paths: list[str] | str,
53-
constraint: iris.Constraint = None,
53+
constraint: iris.Constraint | None = None,
5454
model_names: list[str] | str | None = None,
5555
subarea_type: str | None = None,
5656
subarea_extent: list[float] | None = None,

0 commit comments

Comments
 (0)