specify exported api methods in __all__

It's py.types requirement, similar to 6e2edbf

Example issue without __all__:
import ifcopenshell
import ifcopenshell.api.project

# "create_file" is not exported from module "ifcopenshell.api.project"
ifcopenshell.api.project.create_file()
This commit is contained in:
Andrej730
2024-06-03 11:30:41 +05:00
parent 70091aa28b
commit 4a5d1eba0b
33 changed files with 394 additions and 0 deletions
@@ -46,3 +46,27 @@ from .remove_structural_load_group import remove_structural_load_group
from .unassign_structural_analysis_model import unassign_structural_analysis_model
wrap_usecases(__path__, __name__)
__all__ = [
"add_structural_activity",
"add_structural_analysis_model",
"add_structural_boundary_condition",
"add_structural_load",
"add_structural_load_case",
"add_structural_load_group",
"add_structural_member_connection",
"assign_structural_analysis_model",
"edit_structural_analysis_model",
"edit_structural_boundary_condition",
"edit_structural_connection_cs",
"edit_structural_item_axis",
"edit_structural_load",
"edit_structural_load_case",
"remove_structural_analysis_model",
"remove_structural_boundary_condition",
"remove_structural_connection_condition",
"remove_structural_load",
"remove_structural_load_case",
"remove_structural_load_group",
"unassign_structural_analysis_model",
]