52a36f0da585e5fb8d3afd214da858edd1a49259,wandb/sdk_py27/wandb_init.py,_WandbInit,init,#_WandbInit#,297

Before Change


            run._set_run_obj_offline(run_proto)
        else:
            ret = backend.interface.communicate_check_version()
            if ret and ret.message:
                wandb.termlog(ret.message)
            ret = backend.interface.communicate_run(run, timeout=30)
            error_message = None
            if not ret:
                error_message = "Error communicating with backend"

After Change


            backend.interface._publish_run(run_proto)
            run._set_run_obj_offline(run_proto)
        else:
            ret = backend.interface.communicate_check_version()
            if ret:
                if ret.upgrade_message:
                    run._set_upgrade_version_message(ret.upgrade_message)
                // if yanked or deleted, warn at header and footer
                if ret.delete_message:
                    run._set_check_version_message(
                        click.style(ret.delete_message, fg="red")
                    )
                elif ret.yank_message:
                    run._set_check_version_message(
                        click.style(ret.yank_message, fg="red")
                    )
            run._on_init()
            ret = backend.interface.communicate_run(run, timeout=30)
            error_message = None
            if not ret:
                error_message = "Error communicating with backend"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 22

Instances


Project Name: wandb/client
Commit Name: 52a36f0da585e5fb8d3afd214da858edd1a49259
Time: 2020-10-19
Author: aditya@wandb.com
File Name: wandb/sdk_py27/wandb_init.py
Class Name: _WandbInit
Method Name: init


Project Name: wandb/client
Commit Name: 52a36f0da585e5fb8d3afd214da858edd1a49259
Time: 2020-10-19
Author: aditya@wandb.com
File Name: wandb/sdk_py27/wandb_init.py
Class Name: _WandbInit
Method Name: init


Project Name: wandb/client
Commit Name: ed52710be3c32068c253823b732f55a25131e2b5
Time: 2020-10-12
Author: aditya@wandb.com
File Name: wandb/sdk_py27/wandb_init.py
Class Name: _WandbInit
Method Name: init


Project Name: wandb/client
Commit Name: 52a36f0da585e5fb8d3afd214da858edd1a49259
Time: 2020-10-19
Author: aditya@wandb.com
File Name: wandb/sdk/wandb_init.py
Class Name: _WandbInit
Method Name: init


Project Name: wandb/client
Commit Name: ed52710be3c32068c253823b732f55a25131e2b5
Time: 2020-10-12
Author: aditya@wandb.com
File Name: wandb/sdk/wandb_init.py
Class Name: _WandbInit
Method Name: init