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
@@ -50,3 +50,29 @@ from .unassign_actor import unassign_actor
from .update_owner_history import update_owner_history
wrap_usecases(__path__, __name__)
__all__ = [
"add_actor",
"add_address",
"add_application",
"add_organisation",
"add_person",
"add_person_and_organisation",
"add_role",
"assign_actor",
"create_owner_history",
"edit_actor",
"edit_address",
"edit_organisation",
"edit_person",
"edit_role",
"remove_actor",
"remove_address",
"remove_application",
"remove_organisation",
"remove_person",
"remove_person_and_organisation",
"remove_role",
"unassign_actor",
"update_owner_history",
]