diff --git a/src/build123d/build_common.py b/src/build123d/build_common.py index 2f2ade59..db921bfb 100644 --- a/src/build123d/build_common.py +++ b/src/build123d/build_common.py @@ -1283,11 +1283,12 @@ def localize(cls, *points: VectorLike) -> Union[list[Vector], Vector]: P = ParamSpec("P") +T2 = TypeVar("T2") def __gen_context_component_getter( - func: Callable[Concatenate[Builder, P], T] -) -> Callable[P, T]: + func: Callable[Concatenate[Builder, P], T2] +) -> Callable[P, T2]: @functools.wraps(func) def getter(select: Select = Select.ALL): context = Builder._get_context(func.__name__)