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 876dd80 commit ad473c8Copy full SHA for ad473c8
src/sagemaker/jumpstart/constants.py
@@ -183,9 +183,9 @@
183
DEFAULT_JUMPSTART_SAGEMAKER_SESSION = Session(
184
boto3.Session(region_name=JUMPSTART_DEFAULT_REGION_NAME)
185
)
186
-except Exception as e:
+except Exception as e: # pylint: disable=W0703
187
DEFAULT_JUMPSTART_SAGEMAKER_SESSION = None
188
- JUMPSTART_LOGGER.warn(
+ JUMPSTART_LOGGER.warning(
189
"Unable to create default JumpStart SageMaker Session due to the following error: %s.",
190
str(e),
191
0 commit comments