(self)
| 54 | raise NotImplementedError |
| 55 | |
| 56 | def get_output(self) -> Union[ifcopenshell.file, str, None]: |
| 57 | if hasattr(self, "file_patched"): |
| 58 | return self.file_patched # pyright: ignore[reportAttributeAccessIssue] |
| 59 | return self.file |
| 60 | |
| 61 | |
| 62 | def ensure_logger(logger: Union[logging.Logger, None] = None) -> logging.Logger: |