From 2f4bcc17a6531408c71bc900bfcf8233b4da7bb1 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 14 Jul 2026 14:37:20 +0500 Subject: [PATCH] geom/main.py: fix ty complaint (cherry picked from commit 8a00ce84cc42dc137ed5455d6fa16f01797cb5e1) --- src/ifcopenshell-python/ifcopenshell/geom/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/geom/main.py b/src/ifcopenshell-python/ifcopenshell/geom/main.py index 7b60c46891..e85b7ef4d3 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/main.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/main.py @@ -208,7 +208,7 @@ class settings_mixin: def set(self: settings, k: SETTING, v: Any) -> None: ... @overload def set(self: serializer_settings, k: SERIALIZER_SETTING, v: Any) -> None: ... - def set(self, k: SETTING, v: Any) -> None: + def set(self, k: Union[SETTING, SERIALIZER_SETTING], v: Any) -> None: """ Set value of the setting named `k` to `v`.