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
@@ -67,3 +67,44 @@ from .unassign_recurrence_pattern import unassign_recurrence_pattern
from .unassign_sequence import unassign_sequence
wrap_usecases(__path__, __name__)
__all__ = [
"add_task",
"add_task_time",
"add_time_period",
"add_work_calendar",
"add_work_plan",
"add_work_schedule",
"add_work_time",
"assign_lag_time",
"assign_process",
"assign_product",
"assign_recurrence_pattern",
"assign_sequence",
"assign_workplan",
"calculate_task_duration",
"cascade_schedule",
"create_baseline",
"duplicate_task",
"edit_lag_time",
"edit_recurrence_pattern",
"edit_sequence",
"edit_task",
"edit_task_time",
"edit_work_calendar",
"edit_work_plan",
"edit_work_schedule",
"edit_work_time",
"recalculate_schedule",
"remove_task",
"remove_time_period",
"remove_work_calendar",
"remove_work_plan",
"remove_work_schedule",
"remove_work_time",
"unassign_lag_time",
"unassign_process",
"unassign_product",
"unassign_recurrence_pattern",
"unassign_sequence",
]