311996faefe638ddccee434d13a8a2aeed0eb944,lib/streamlit/proxy/ClientWebSocket.py,ClientWebSocket,_save_cloud,#ClientWebSocket#Any#Any#,131

Before Change


            yield ws.write_message(progress_msg.SerializeToString(), binary=True)
        except Exception as e:
            // Horrible hack to show something if something breaks.
            progress_msg.Clear()
            progress_msg.report_uploaded = "ERROR: " + str(e)
            yield ws.write_message(progress_msg.SerializeToString(), binary=True)
            raise e

After Change



        // Indicate that the save is starting.
        try:
            yield progress(0)

            files = connection.serialize_report_to_files()
            LOGGER.debug("to serialize: %s" % ([(name, len(bytes)) for name, bytes in files],))
            url = yield self._cloud.upload_report(connection.id, files, progress)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: streamlit/streamlit
Commit Name: 311996faefe638ddccee434d13a8a2aeed0eb944
Time: 2018-07-05
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/proxy/ClientWebSocket.py
Class Name: ClientWebSocket
Method Name: _save_cloud


Project Name: streamlit/streamlit
Commit Name: c050bfa6e81b54a54fb4f136633812eb41781902
Time: 2018-07-04
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/proxy/ClientWebSocket.py
Class Name: ClientWebSocket
Method Name: _save_cloud


Project Name: streamlit/streamlit
Commit Name: b5a93131d95331541fc4d1af8f133ca826ab3b6d
Time: 2018-07-06
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/proxy/ClientWebSocket.py
Class Name: ClientWebSocket
Method Name: _save_cloud