0c0f1b4a1fe49762b36f4dd8d8a472ec03db87e2,lib/streamlit/Proxy.py,Proxy,_save_cloud,#Proxy#Any#Any#,266

Before Change


        // url = await self._cloud.upload_report(connection.id, report)

        // Pretend to upload something.
        await asyncio.sleep(3.0)
        url = "https://s3-us-west-2.amazonaws.com/streamlit-test10/streamlit-static/0.9.0-b5a7d29ec8d0469961e5e5f050944dd4/index.html?id=90a3ef64-7a67-4f90-88c9-8161934af74a"

        // Indicate that the save is done.

After Change


        await ws.send_bytes(progress_msg.SerializeToString())

        // COMMENTED OUT FOR THIAGO (becuase he doesn"t have AWS creds)
        report = connection.get_report_proto()
        print(f"Saving report of size {len(report.SerializeToString())} and type {type(report.SerializeToString())}")
        url = await self._cloud.upload_report(connection.id, report)

        // // Pretend to upload something.
        // await asyncio.sleep(3.0)
        // url = "https://s3-us-west-2.amazonaws.com/streamlit-test10/streamlit-static/0.9.0-b5a7d29ec8d0469961e5e5f050944dd4/index.html?id=90a3ef64-7a67-4f90-88c9-8161934af74a"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: streamlit/streamlit
Commit Name: 0c0f1b4a1fe49762b36f4dd8d8a472ec03db87e2
Time: 2018-05-28
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/Proxy.py
Class Name: Proxy
Method Name: _save_cloud


Project Name: streamlit/streamlit
Commit Name: 0c0f1b4a1fe49762b36f4dd8d8a472ec03db87e2
Time: 2018-05-28
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/Proxy.py
Class Name: Proxy
Method Name: _save_cloud


Project Name: streamlit/streamlit
Commit Name: 493020395cf836d442c38d40dbef0e695ec714b3
Time: 2018-05-24
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/Proxy.py
Class Name: Proxy
Method Name: _save_cloud


Project Name: streamlit/streamlit
Commit Name: 1d2089be4383727d61f1297e9d9e6c86298db81a
Time: 2018-05-31
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/Proxy.py
Class Name: Proxy
Method Name: _save_cloud


Project Name: streamlit/streamlit
Commit Name: c73a99e067765afd7339180abba028f624e1a936
Time: 2018-05-27
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/Proxy.py
Class Name: Proxy
Method Name: _save_cloud