Skip to content

Commit

Permalink
chore: to support python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
smolvik1 committed Nov 13, 2023
1 parent 09f6a0b commit 3deeae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pysand/erosion.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
"""
Expand Down

0 comments on commit 3deeae9

Please sign in to comment.