From 2db5658386c85dc7af67648d278fbfbfa76521f3 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 24 Jul 2026 18:22:59 +0500 Subject: [PATCH] ifcwrap: hide `guess_file_type` from Python as unused --- .../ifcopenshell/ifcopenshell_wrapper.pyi | 8 -------- src/ifcwrap/IfcPython.i | 3 +++ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi b/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi index ac5cb061b9..29c14d7e7a 100644 --- a/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi +++ b/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi @@ -73,13 +73,6 @@ FILTERED_CARTESIAN_QUOTIENT: Any EXACT_PREDICATES: Any EXACT_CONSTRUCTIONS: Any -FT_AUTODETECT: Any -FT_IFCSPF: Any -FT_IFCXML: Any -FT_IFCZIP: Any -FT_ROCKSDB: Any -FT_UNKNOWN: Any - CURVES: Any SURFACES_AND_SOLIDS: Any CURVES_SURFACES_AND_SOLIDS: Any @@ -1799,7 +1792,6 @@ def flatten(deep): ... def get_feature(x): ... def get_info_cpp(v, include_identifier=True): ... def get_log(): ... -def guess_file_type(fn): ... def helmert_curve_point(A0, A1, A2, s): ... def kind_to_string(k): ... def less(arg1, arg2): ... diff --git a/src/ifcwrap/IfcPython.i b/src/ifcwrap/IfcPython.i index 9dbcb6fb4a..8020ecf882 100644 --- a/src/ifcwrap/IfcPython.i +++ b/src/ifcwrap/IfcPython.i @@ -173,6 +173,9 @@ %ignore XmlSerializerFactory; %ignore JsonSerializerFactory; +%ignore filetype; +%ignore guess_file_type; + // Triangulated representation helper struct %ignore EdgeKey;