From 4ffec78728745dffe4e4880263a43fe14b333c36 Mon Sep 17 00:00:00 2001 From: Dmytry Lavrov Date: Sun, 28 Sep 2025 13:11:23 -0500 Subject: [PATCH] Partial type hints fix --- src/build123d/geometry.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/build123d/geometry.py b/src/build123d/geometry.py index cfeddeb..34c036e 100644 --- a/src/build123d/geometry.py +++ b/src/build123d/geometry.py @@ -1705,9 +1705,12 @@ class Location: @overload def __mul__(self, other: Iterable[Location]) -> list[Location]: ... + @overload + def __mul__(self, other: Iterable[Shape]) -> list[Shape]: ... + def __mul__( self, other: Shape | Location | Iterable[Location | Shape | Iterable] - ) -> Shape | Location | list[Location | Shape | list]: + ) -> Shape | Location | list[Location] | list[Shape]: """Combine locations""" if self.wrapped is None: raise ValueError("Cannot move a shape at an empty location")