28f055f228768e40cc4686307ac1428a739d83e6,wandb/sdk/wandb_init.py,_WandbInit,setup,#_WandbInit#Any#,59

Before Change


        //            moved to apply_init()
        if settings.sweep_id:
            for key in ("project", "entity"):
                val = kwargs.pop(key, None)
                if val:
                    print("Ignored wandb.init() arg %s when running a sweep" % key)
        settings.apply_init(kwargs)

        login_key = wandb_login._login(_disable_warning=True, _settings=settings)
        if not login_key:

After Change


            settings.mode = "offline"

        // apply updated global state after login was handled
        settings._apply_settings(wandb.setup()._settings)

        settings._apply_init(kwargs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: wandb/client
Commit Name: 28f055f228768e40cc4686307ac1428a739d83e6
Time: 2020-09-25
Author: jeff@wandb.com
File Name: wandb/sdk/wandb_init.py
Class Name: _WandbInit
Method Name: setup


Project Name: wandb/client
Commit Name: 28f055f228768e40cc4686307ac1428a739d83e6
Time: 2020-09-25
Author: jeff@wandb.com
File Name: wandb/sdk_py27/wandb_init.py
Class Name: _WandbInit
Method Name: setup


Project Name: inferno-pytorch/inferno
Commit Name: 294ae8801abbc7bf8ab5106f66d2c4ff721bb710
Time: 2017-08-21
Author: thorsten.beier@iwr.uni-heidelberg.de
File Name: setup.py
Class Name:
Method Name:


Project Name: wandb/client
Commit Name: 28f055f228768e40cc4686307ac1428a739d83e6
Time: 2020-09-25
Author: jeff@wandb.com
File Name: wandb/sdk/wandb_init.py
Class Name: _WandbInit
Method Name: setup