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
@@ -58,3 +58,30 @@ from .reorder_set_item import reorder_set_item
from .unassign_material import unassign_material
wrap_usecases(__path__, __name__)
__all__ = [
"add_constituent",
"add_layer",
"add_list_item",
"add_material",
"add_material_set",
"add_profile",
"assign_material",
"assign_profile",
"copy_material",
"edit_assigned_material",
"edit_constituent",
"edit_layer",
"edit_layer_usage",
"edit_material",
"edit_profile",
"edit_profile_usage",
"remove_constituent",
"remove_layer",
"remove_list_item",
"remove_material",
"remove_material_set",
"remove_profile",
"reorder_set_item",
"unassign_material",
]