Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
fix up settings method
Browse files Browse the repository at this point in the history
  • Loading branch information
raubitsj committed Aug 31, 2020
1 parent 7906f53 commit f0fa34b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wandb/sdk/wandb_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def setup(self, kwargs):
if sm_config:
sm_run, sm_env = sagemaker.parse_sm_resources()
if sm_env:
settings._apply_env(sm_env)
settings._apply_environ(sm_env)
for k, v in six.iteritems(sm_run):
kwargs.setdefault(k, v)

Expand Down
2 changes: 1 addition & 1 deletion wandb/sdk_py27/wandb_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def setup(self, kwargs):
if sm_config:
sm_run, sm_env = sagemaker.parse_sm_resources()
if sm_env:
settings._apply_env(sm_env)
settings._apply_environ(sm_env)
for k, v in six.iteritems(sm_run):
kwargs.setdefault(k, v)

Expand Down

0 comments on commit f0fa34b

Please sign in to comment.