(
self, cost_items: list[CostItem], parent: Optional[ifcopenshell.entity_instance] = None
)
| 258 | self.create_cost_items(self.cost_items) |
| 259 | |
| 260 | def create_cost_items( |
| 261 | self, cost_items: list[CostItem], parent: Optional[ifcopenshell.entity_instance] = None |
| 262 | ) -> None: |
| 263 | # Not using `self.cost_items` directly to allow recursion. |
| 264 | for cost_item in cost_items: |
| 265 | self.create_cost_item(cost_item, parent) |
| 266 | |
| 267 | def create_cost_item(self, cost_item: CostItem, parent: Optional[ifcopenshell.entity_instance] = None) -> None: |
| 268 | assert self.file |
no test coverage detected