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