def attach(self, title, contents, attach_type):
        attach = Attach(source=self._save_attach(contents, attach_type=attach_type),
                        title=title,
                        type=attach_type.mime_type)
        self.stack[-1].attachments.append(attach)
Attaches ``contents`` with ``title`` and ``attach_type`` to the current active thing
dataset/ETHPy150Open allure-framework/allure-python/allure/common.py/AllureImpl.attach