7a60bb5289b4ecb59a510f8ca666948c7f4c2e3d,lib/streamlit/scriptrunner.py,,_enqueue_new_report_message,#Any#,226

Before Change




def _enqueue_new_report_message(server):
    msg = streamlit_msg_proto.new_report_msg(
        report_id=util.build_report_id(),
        cwd=os.getcwd(),
        command_line=sys.argv,
        source_file_path="")  // XXX Remove.

    server.enqueue(msg)

After Change


def _enqueue_new_report_message(server):
    msg = protobuf.ForwardMsg()
    msg.new_report.id = str(util.build_report_id())
    msg.new_report.cwd = os.getcwd()
    msg.new_report.command_line.extend(sys.argv)
    msg.new_report.source_file_path = ""  // XXX remove

    server.enqueue(msg)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: streamlit/streamlit
Commit Name: 7a60bb5289b4ecb59a510f8ca666948c7f4c2e3d
Time: 2019-03-28
Author: thiagot@gmail.com
File Name: lib/streamlit/scriptrunner.py
Class Name:
Method Name: _enqueue_new_report_message


Project Name: eth-cscs/reframe
Commit Name: 750fec44c108148925d0d9db34df88d42bce2e9f
Time: 2021-03-25
Author: rafael.sarmiento@cscs.ch
File Name: reframe/core/buildsystems.py
Class Name: EasyBuild
Method Name: emit_build_commands


Project Name: automl/auto-sklearn
Commit Name: 838f3aa207070d7f8f02f529a5f45076e0caab66
Time: 2015-10-01
Author: feurerm@informatik.uni-freiburg.de
File Name: autosklearn/cli/base_interface.py
Class Name:
Method Name: make_mode_holdout