some typing

This commit is contained in:
Andrej730
2024-02-14 14:23:13 +05:00
parent a33a1700dc
commit 4f3ba7ae22
3 changed files with 9 additions and 7 deletions
@@ -88,7 +88,8 @@ class Usecase:
self.settings = {"library": library, "element": element}
def execute(self):
self.added_elements = {}
# mapping of old element ids to new elements
self.added_elements:dict[int, ifcopenshell.entity_instance] = {}
self.whitelisted_inverse_attributes = {}
if self.settings["element"].is_a("IfcTypeProduct"):
self.target_class = "IfcTypeProduct"