Skip to content

Commit 25724e8

Browse files
committed
type hints
1 parent 276bb2d commit 25724e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LoopStructural/interpolators/_interpolator_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
class InterpolatorFactory:
1414
@staticmethod
1515
def create_interpolator(
16-
interpolatortype: Union[str, InterpolatorType] = None,
16+
interpolatortype: Optional[Union[str, InterpolatorType]] = None,
1717
boundingbox: Optional[BoundingBox] = None,
1818
nelements: Optional[int] = None,
1919
element_volume: Optional[float] = None,

0 commit comments

Comments
 (0)