def _attacher(self, key, value, attributes, timed):
        """
        Create a full attachment record payload.
        """
        id, extra = self._get_attach_id(key, value, attributes)

        record = self._create_attach_record(id, timed)

        if extra:
            record.update(extra)

        return record
def _attacher ( self , key , value , attributes , timed ) : id , extra = self . _get_attach_id ( key , value , attributes ) record = self . _create_attach_record ( id , timed ) if extra : record . update ( extra ) return record
Create a full attachment record payload.