28f055f228768e40cc4686307ac1428a739d83e6,wandb/sdk/wandb_init.py,_WandbInit,setup,#_WandbInit#Any#,59
Before Change
// TODO(jhr): these should be locked elements in the future or at least
// 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)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
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: bokeh/bokeh
Commit Name: 7d8dc0938d79618773f96863f57967b1b397ac77
Time: 2015-08-25
Author: nroth@dealnews.com
File Name: bokeh/charts/_builder.py
Class Name: Builder
Method Name: _setup_attrs
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