a186e2aa2857d92d42ced706f09a59f73629d391,wandb/sdk/wandb_init.py,_WandbInit,setup,#_WandbInit#Any#,58
Before Change
config_include_keys = kwargs.pop("config_include_keys", None)
config_exclude_keys = kwargs.pop("config_exclude_keys", None)
if config_include_keys or config_exclude_keys:
wandb.termwarn(
"config_include_keys and config_exclude_keys are deprecated -- instead,"
" use config=wandb.helper.parse_config(config_object, include=("key",))"
" or config=wandb.helper.parse_config(config_object, exclude=("key",))"
)
if config_exclude_keys and config_include_keys:
raise UsageError(
"Expected at most only one of config_exclude_keys or "
"config_include_keys"
After Change
sm_api_key = sm_config.get("wandb_api_key", None)
sm_run, sm_env = sagemaker.parse_sm_resources()
if sm_env:
if sm_api_key:
sm_env["WANDB_API_KEY"] = sm_api_key
settings._apply_environ(sm_env)
for k, v in six.iteritems(sm_run):
kwargs.setdefault(k, v)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: wandb/client
Commit Name: a186e2aa2857d92d42ced706f09a59f73629d391
Time: 2020-08-31
Author: jeff@wandb.com
File Name: wandb/sdk/wandb_init.py
Class Name: _WandbInit
Method Name: setup
Project Name: wandb/client
Commit Name: a186e2aa2857d92d42ced706f09a59f73629d391
Time: 2020-08-31
Author: jeff@wandb.com
File Name: wandb/sdk_py27/wandb_init.py
Class Name: _WandbInit
Method Name: setup
Project Name: wandb/client
Commit Name: aeee63552b904cd3b7c79e664c9f020274045ff7
Time: 2020-12-16
Author: jeff@wandb.com
File Name: wandb/sdk_py27/wandb_config.py
Class Name: Config
Method Name: __setitem__
Project Name: wandb/client
Commit Name: aeee63552b904cd3b7c79e664c9f020274045ff7
Time: 2020-12-16
Author: jeff@wandb.com
File Name: wandb/sdk/wandb_config.py
Class Name: Config
Method Name: __setitem__