(
self, ifc_file: ifcopenshell.file, elements: Optional[list[ifcopenshell.entity_instance]]
)
| 475 | super().__init__(name, predefinedType, relation, cardinality, instructions) |
| 476 | |
| 477 | def filter( |
| 478 | self, ifc_file: ifcopenshell.file, elements: Optional[list[ifcopenshell.entity_instance]] |
| 479 | ) -> list[ifcopenshell.entity_instance]: |
| 480 | if isinstance(elements, list): |
| 481 | return super().filter(ifc_file, elements) |
| 482 | return list(ifc_file) # Lazy |
| 483 | |
| 484 | def asdict(self, clause_type: str) -> dict[str, Any]: |
| 485 | results = super().asdict(clause_type) |