def on_success(self, data):  # pragma: no cover
        """Called when data has been successfull received from the stream

        Feel free to override this to handle your streaming data how you
        want it handled.
        See https://dev.twitter.com/docs/streaming-apis/messages for messages
        sent along in stream responses.

        :param data: data recieved from the stream
        :type data: dict
        """

        if 'delete' in data:
            self.on_delete(data.get('delete'))
        elif 'limit' in data:
            self.on_limit(data.get('limit'))
        elif 'disconnect' in data:
            self.on_disconnect(data.get('disconnect'))
dataset/ETHPy150Open splunk/splunk-app-twitter/twitter2/bin/twython/streaming/api.py/TwythonStreamer.on_success/original