[bindings] fix signatures in pyi files

This commit is contained in:
Frank Martinez
2025-09-25 20:43:33 -05:00
parent 8c7f381416
commit 748004b4e4
247 changed files with 2001 additions and 897 deletions

View File

@@ -1,3 +1,7 @@
# SPDX-License: LGPL-2.1-or-later
from __future__ import annotations
from Base.Metadata import export, constmethod
from Part.BodyBase import BodyBase
from typing import Final, overload
@@ -17,7 +21,7 @@ class Body(BodyBase):
VisibleFeature: Final[object] = ...
"""Return the visible feature of this body"""
def insertObject(self, feature: object, target: object, after: bool = False) -> None:
def insertObject(self, feature: object, target: object, after: bool = False, /) -> None:
"""
insertObject(feature, target, after=False)
Insert the feature into the body after the given feature.

View File

@@ -1,3 +1,7 @@
# SPDX-License: LGPL-2.1-or-later
from __future__ import annotations
from Base.Metadata import export
from Part.PartFeature import PartFeature
from typing import Optional, overload