Skip to content

Commit ff13aa5

Browse files
committed
tighten Fields._get_raw_data annotation
1 parent 8628860 commit ff13aa5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/stagpy/step.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,9 @@ def __contains__(self, item: Any) -> bool:
342342
return False
343343
return True
344344

345-
def _get_raw_data(self, name: str) -> tuple[list[str], Any]:
345+
def _get_raw_data(
346+
self, name: str
347+
) -> tuple[list[str], tuple[dict[str, Any], NDArray[np.float64]] | None]:
346348
"""Find file holding data and return its content."""
347349
# try legacy first, then hdf5
348350
filestem = ""

0 commit comments

Comments
 (0)