From 164b00ddc999d6c14a4a0443a80c90c1ceb5ae55 Mon Sep 17 00:00:00 2001 From: mferrera Date: Fri, 23 Aug 2024 14:46:39 +0200 Subject: [PATCH] TYP: Fix Python 3.12 type annotation --- src/xtgeo/grid3d/_ecl_inte_head.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xtgeo/grid3d/_ecl_inte_head.py b/src/xtgeo/grid3d/_ecl_inte_head.py index 1c317b828..bc23d2c8b 100644 --- a/src/xtgeo/grid3d/_ecl_inte_head.py +++ b/src/xtgeo/grid3d/_ecl_inte_head.py @@ -29,7 +29,7 @@ class InteHead: True """ - def __init__(self, values: np.ndarray[np.int_, Any]) -> None: + def __init__(self, values: np.ndarray[np.int_, tuple[int]]) -> None: """Create an InteHead from the corresponding array. Args: