From 8a00ce84cc42dc137ed5455d6fa16f01797cb5e1 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 --- 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 fc66264b95..984ad9706b 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/main.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/main.py @@ -174,7 +174,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`.