Skip to content

Commit 6060f9b

Browse files
authored
fix type hints (#170)
1 parent a0206b5 commit 6060f9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flopy4/mf6/gwf/dis.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from typing import Optional
12
import numpy as np
23
from attrs import Converter
34
from flopy.discretization.structuredgrid import StructuredGrid
@@ -65,7 +66,7 @@ class Dis(Package):
6566
dims=("nlay", "nrow", "ncol"),
6667
converter=Converter(dict_to_array, takes_self=True, takes_field=True),
6768
)
68-
idomain: NDArray[np.int32] = array(
69+
idomain: Optional[NDArray[np.int32]] = array(
6970
block="griddata",
7071
default=1,
7172
dims=("nlay", "nrow", "ncol"),

0 commit comments

Comments
 (0)