From 0abea81e6bbf600c9734a8fb177db5b51975bf90 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 8 Mar 2024 16:40:30 +0500 Subject: [PATCH] fix error in typing --- src/ifcopenshell-python/ifcopenshell/file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/ifcopenshell/file.py b/src/ifcopenshell-python/ifcopenshell/file.py index 93828df396..e407afb865 100644 --- a/src/ifcopenshell-python/ifcopenshell/file.py +++ b/src/ifcopenshell-python/ifcopenshell/file.py @@ -595,7 +595,7 @@ class file(object): return @staticmethod - def from_string(s: str) -> ifcopenshell.entity_instance: + def from_string(s: str) -> file: return file(ifcopenshell_wrapper.read(s)) @staticmethod