fix file_dict typing (126accd6a)

This commit is contained in:
Andrej730
2025-08-18 11:08:55 +05:00
parent ddbe62772d
commit 53e9837858
+3 -2
View File
@@ -243,8 +243,9 @@ class Transaction:
pass
file_dict: dict[int, weakref.ReferenceType[file]] = {}
"""Mapping of internal IfcFile pointer addressed to existing ``ifcopenshell.file``.
file_dict: dict[int, tuple[weakref.ReferenceType[file], int]] = {}
"""Mapping of internal IfcFile pointer address to existing ``ifcopenshell.file``
and the timestamp when it was created.
Needed only to quickly access related from ``entity_instance`` it's ``file``.
"""