[bindings] Format with yapf (precommit will reformat)

This commit is contained in:
Frank Martinez
2025-10-07 12:07:42 -05:00
parent d4d7cabdc5
commit 0d0689341b
254 changed files with 885 additions and 311 deletions

View File

@@ -8,6 +8,7 @@ from Base.Metadata import constmethod, export
from App.Part import Part
@export(Include="Mod/Assembly/App/AssemblyObject.h", Namespace="Assembly")
class AssemblyObject(Part):
"""
@@ -152,10 +153,10 @@ class AssemblyObject(Part):
Args:
fileName: The name of the file where the ASMT will be exported."""
...
@constmethod
def getDownstreamParts(
self, start_part: "App.DocumentObject", joint_to_ignore: "App.DocumentObject", /
) -> list["App.DocumentObject"]:
def getDownstreamParts(self, start_part: "App.DocumentObject", joint_to_ignore: "App.DocumentObject",
/) -> list["App.DocumentObject"]:
"""
Finds all parts connected to a start_part that are not connected to ground
when a specific joint is ignored.