We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9560fc commit 4e8bcabCopy full SHA for 4e8bcab
src/sagemaker/local/local_session.py
@@ -667,7 +667,7 @@ def _initialize(
667
logger.error(_module_import_error("yaml", "Local mode", "local"))
668
raise e
669
670
- self.config = yaml.load(open(sagemaker_config_file, "r"))
+ self.config = yaml.safe_load(open(sagemaker_config_file, "r"))
671
if self._disable_local_code and "local" in self.config:
672
self.config["local"]["local_code"] = False
673
0 commit comments