From 6edea8313757493e7342821fd6510a9729809c7a Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 3 Aug 2026 13:51:40 +0500 Subject: [PATCH] file.good - document return type --- .../ifcopenshell/ifcopenshell_wrapper.pyi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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): ...