We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e52303 commit c459288Copy full SHA for c459288
src/pyfabm/__init__.py
@@ -16,7 +16,7 @@
16
TypeVar,
17
List,
18
Dict,
19
- Final,
+ Literal,
20
Type,
21
overload,
22
cast
@@ -125,7 +125,7 @@ def get_lib(name: str) -> FABMDLL:
125
lib.mask_type = mask_type.value
126
lib.variable_bottom_index = variable_bottom_index.value != 0
127
128
- CONTIGUOUS: Final = "CONTIGUOUS"
+ CONTIGUOUS: Literal["CONTIGUOUS"] = "CONTIGUOUS"
129
arrtype0D = np.ctypeslib.ndpointer(dtype=lib.dtype, ndim=0, flags=CONTIGUOUS)
130
arrtype1D = np.ctypeslib.ndpointer(dtype=lib.dtype, ndim=1, flags=CONTIGUOUS)
131
arrtypeInterior = np.ctypeslib.ndpointer(
0 commit comments