def METHOD_NAME(self):
    try:
        deleted, _rows_count = IastAgentMethodPoolReplay.objects.filter(agent=self.agent).delete()
        logger.warning(
            _(
                "The replay request method pool data was successfully deleted, A total of {} replay requests are deleted"
            ).format(deleted)
        )
    except Exception as e:
        logger.warning(_("Failed to delete replay request queue, error message: {}").format(e))