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,25 @@ from .remove_cost_value import remove_cost_value
from .unassign_cost_item_quantity import unassign_cost_item_quantity
wrap_usecases(__path__, __name__)
__all__ = [
"add_cost_item",
"add_cost_item_quantity",
"add_cost_schedule",
"add_cost_value",
"assign_cost_item_quantity",
"assign_cost_value",
"calculate_cost_item_resource_value",
"copy_cost_item",
"copy_cost_item_values",
"edit_cost_item",
"edit_cost_item_quantity",
"edit_cost_schedule",
"edit_cost_value",
"edit_cost_value_formula",
"remove_cost_item",
"remove_cost_item_quantity",
"remove_cost_schedule",
"remove_cost_value",
"unassign_cost_item_quantity",
]