From bc33cb6391b4df5121f49ca723124a2604207e33 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 30 Jan 2025 14:19:38 +0500 Subject: [PATCH] append_asset - remove unnecessary partial --- .../ifcopenshell/api/project/append_asset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/api/project/append_asset.py b/src/ifcopenshell-python/ifcopenshell/api/project/append_asset.py index 3600a7c981..e3d7a6aaea 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/project/append_asset.py +++ b/src/ifcopenshell-python/ifcopenshell/api/project/append_asset.py @@ -532,7 +532,7 @@ class Usecase: return func(arr) file_add_ = partial(self.file_add, conversion_factor=conversion_factor) - apply_conversion = partial(lambda x: x * conversion_factor) + apply_conversion = lambda x: x * conversion_factor # Migrate attributes to another file. for attr_index, attr_value in enumerate(element):