From 6b77147d454a87875aa9e39c63cfaac356f3dfa8 Mon Sep 17 00:00:00 2001 From: Martin15135215 <110968398+Martin15135215@users.noreply.github.com> Date: Fri, 23 May 2025 16:59:07 +0200 Subject: [PATCH] Create ifcopenshell_wrapper.pyi stub file for swig-generated ifcopenshell_wrapper python file --- .../ifcopenshell/ifcopenshell_wrapper.pyi | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi diff --git a/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi b/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi new file mode 100644 index 0000000000..85cb0171f2 --- /dev/null +++ b/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi @@ -0,0 +1,21 @@ +# ifcopenshell_wrapper.pyi + +class FileDescription: + description: tuple[str, ...] + implementation_level: str + +class FileName: + name: str + time_stamp: str + author: tuple[str, ...] + organization: tuple[str, ...] + preprocessor_version: str + originating_system: str + authorization: str + +class IfcSpfHeader: + @property + def file_description(self) -> FileDescription: ... + + @property + def file_name(self) -> FileName: ...