edbe07a5f46e748f4519b511a557fd1eed8efbc4,wandb/sdk_py27/wandb_init.py,_WandbInit,setup,#_WandbInit#Any#,58
Before Change
// handle login related parameters as these are applied to global state
anonymous = kwargs.pop("anonymous", None)
force = kwargs.pop("force", None)
login_key = wandb.login(anonymous=anonymous, force=force)
// apply updated global state after login was handled
settings._apply_settings(wandb.setup()._settings)
// this must happen after applying global state which overrides mode
After Change
// TODO: move above parameters into apply_init_login
settings._apply_init_login(kwargs)
if not settings._offline:
wandb_login._login(anonymous=anonymous, force=force, _disable_warning=True)
// 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: 5
Instances Project Name: wandb/client
Commit Name: edbe07a5f46e748f4519b511a557fd1eed8efbc4
Time: 2020-11-04
Author: jeff@wandb.com
File Name: wandb/sdk_py27/wandb_init.py
Class Name: _WandbInit
Method Name: setup
Project Name: wandb/client
Commit Name: edbe07a5f46e748f4519b511a557fd1eed8efbc4
Time: 2020-11-04
Author: jeff@wandb.com
File Name: wandb/sdk/wandb_init.py
Class Name: _WandbInit
Method Name: setup
Project Name: home-assistant/home-assistant
Commit Name: 0ba7fb40a42bc089d848cf960ff68d82a41fb5af
Time: 2016-02-14
Author: dsmith@danplanet.com
File Name: homeassistant/components/camera/uvc.py
Class Name: UnifiVideoCamera
Method Name: camera_image