From 2e76e78c6d364e4b6cef7137d12e3b6d0f5891d2 Mon Sep 17 00:00:00 2001 From: Stian Molvik <36161719+smolvik1@users.noreply.github.com> Date: Tue, 14 Nov 2023 08:29:55 +0100 Subject: [PATCH] revert python 3.8 support --- pysand/erosion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pysand/erosion.py b/pysand/erosion.py index e0c75c0..1d32d85 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, List +from typing import TypedDict 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 """