da3894b5ae20d2f2851504e0fed6a946247f733f,lib/streamlit/S3Connection.py,S3,upload_report,#S3#Any#Any#,131
Before Change
Key=self._s3_key(path),
ContentType=mime_type,
ACL="public-read")
LOGGER.debug("Uploaded %s", path)
// Return the url for the saved report.
full_path = os.path.join(self._bucketname, self._s3_key("index.html"))
return "https://%s/%s?id=%s" % (self._domain, full_path, report_id)
After Change
def upload_report(self, report_id, report):
Save report to s3.
yield self.s3_init()
yield self._upload_static_dir()
yield self._s3_upload_report(report_id, report)
// Return the url for the saved report.
raise gen.Return("%s?id=%s" % (self._s3_url, report_id))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: streamlit/streamlit
Commit Name: da3894b5ae20d2f2851504e0fed6a946247f733f
Time: 2018-06-18
Author: armando@playground.global
File Name: lib/streamlit/S3Connection.py
Class Name: S3
Method Name: upload_report
Project Name: streamlit/streamlit
Commit Name: c60791a61c1860965894ee1018063b8c349b86cc
Time: 2018-11-12
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/proxy/LocalWebSocket.py
Class Name: LocalWebSocket
Method Name: on_close
Project Name: streamlit/streamlit
Commit Name: c26f8827854295228a774c928b307224ad128e2d
Time: 2018-06-18
Author: armando@playground.global
File Name: lib/streamlit/proxy/ClientWebSocket.py
Class Name: ClientWebSocket
Method Name: on_message