pythonocc-core
pythonocc-core copied to clipboard
ambiguous-call-to-overloaded-function-with-the-same-parameters-
in \OCC\Core\V3d.pyi converthas the same parameter how can i use def Convert(self, Xp: int, Yp: int) -> Tuple[float, float, float]but not this one def Convert(self, Xp: int, Yp: int) -> Tuple[float, float]: ... @overload def Convert(self, Vp: int) -> float: ... @overload def Convert(self, Xp: int, Yp: int) -> Tuple[float, float]: ... @overload def Convert(self, Vv: float) -> int: ... @overload def Convert(self, Xv: float, Yv: float) -> Tuple[int, int]: ... @overload def Convert(self, Xp: int, Yp: int) -> Tuple[float, float, float]: ... @overload def Convert(self, X: float, Y: float, Z: float) -> Tuple[int, int]: ...
The problem is not only with the method documentation, but with the wrapper it self. Function signatures are the same in python, thus one is shadowing the others.
Godd catch :+1: