mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
ifcopenshell.api.run to use explicit kwargs instead of unpacking
This commit is contained in:
@@ -86,4 +86,4 @@ def edit_attributes(file: ifcopenshell.file, product: ifcopenshell.entity_instan
|
||||
product.PredefinedType = "USERDEFINED"
|
||||
|
||||
if hasattr(product, "OwnerHistory"):
|
||||
ifcopenshell.api.owner.update_owner_history(file, **{"element": product})
|
||||
ifcopenshell.api.owner.update_owner_history(file, element=product)
|
||||
|
||||
Reference in New Issue
Block a user