diff --git a/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi b/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi index cd9e0a241d..4e1a4dd2df 100644 --- a/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi +++ b/src/ifcopenshell-python/ifcopenshell/ifcopenshell_wrapper.pyi @@ -926,7 +926,7 @@ class file(file_mixin): ... def get_total_inverses(self, *args: entity_instance | int) -> int: ... - def good(self): ... + def good(self) -> file_open_status: ... @property def header(self) -> spf_header: ... def ifcroot_type(self) -> entity: ... @@ -960,8 +960,9 @@ class file_open_status: UNSUPPORTED_SCHEMA: int INVALID_SYNTAX: int UNKNOWN: int + """Only set on a file created via ``create_uninitialized()`` that hasn't had ``initialize()`` called yet.""" def __init__(self, *args): ... - def value(self): ... + def value(self) -> int: ... class fn_evaluator: def __init__(self, *args, **kwargs): ...