def update_custom_payload(self, other):
        if other:
            if not self.custom_payload:
                self.custom_payload = {}
            self.custom_payload.update(other)
            if len(self.custom_payload) > 65535:
                raise ValueError("Custom payload map exceeds max count allowed by protocol (65535)")
dataset/ETHPy150Open datastax/python-driver/cassandra/protocol.py/_MessageType.update_custom_payload/original