def append(self, token, notification, alert=None, badge=None, sound=None):
        if not alert:
            alert = notification.get("message", None)

        if alert and isinstance(alert, dict):
            alert = alert.get("message", None)

        for key in _ignored_content_keys:
            try:
                del notification[key]
            except __HOLE__:
                pass

        payload = Payload(alert, badge, sound, custom=notification)
        self._payloads.append((token, payload))
dataset/ETHPy150Open felinx/d3status/d3status/libs/apnswrapper.py/APNsWrapper.append