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
@@ -101,7 +101,7 @@ def assign_process(
related_objects = list(operates_on.RelatedObjects)
related_objects.append(related_object)
operates_on.RelatedObjects = related_objects
ifcopenshell.api.owner.update_owner_history(file, **{"element": operates_on})
ifcopenshell.api.owner.update_owner_history(file, element=operates_on)
else:
operates_on = file.create_entity(
"IfcRelAssignsToProcess",