From 3deeae9a451b7ca2a26a42579ab9262e47ea90ae Mon Sep 17 00:00:00 2001 From: smolvik1 Date: Mon, 13 Nov 2023 08:55:52 +0100 Subject: [PATCH] chore: to support python 3.8 --- pysand/erosion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pysand/erosion.py b/pysand/erosion.py index 1d32d85..e0c75c0 100644 --- a/pysand/erosion.py +++ b/pysand/erosion.py @@ -1,7 +1,7 @@ import numpy as np import logging import pysand.exceptions as exc -from typing import TypedDict +from typing import TypedDict, List logger = logging.getLogger(__name__) # Models from DNVGL RP-O501, equation references in parenthesis @@ -530,7 +530,7 @@ def get_material_properties(material: str) -> tuple[float, float, float, str]: return rho_t, K, n, angle_dependency -def get_materials() -> list[str]: +def get_materials() -> List[str]: """ Function to return a list of all available materials """