ifcopenshell.api.run to use explicit kwargs instead of unpacking

This commit is contained in:
Andrej
2025-06-10 11:02:54 +05:00
parent a37d46ca3d
commit 1608677d40
52 changed files with 118 additions and 147 deletions
@@ -83,7 +83,7 @@ class Usecase:
related_objects = set(rel.RelatedObjects) or set()
related_objects.add(self.port)
rel.RelatedObjects = list(related_objects)
ifcopenshell.api.owner.update_owner_history(self.file, **{"element": rel})
ifcopenshell.api.owner.update_owner_history(self.file, element=rel)
else:
rel = self.file.create_entity(
"IfcRelNests",