mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
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:
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user