Skip to content

Commit ad473c8

Browse files
committed
fix: pylint issues
1 parent 876dd80 commit ad473c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/jumpstart/constants.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,9 @@
183183
DEFAULT_JUMPSTART_SAGEMAKER_SESSION = Session(
184184
boto3.Session(region_name=JUMPSTART_DEFAULT_REGION_NAME)
185185
)
186-
except Exception as e:
186+
except Exception as e: # pylint: disable=W0703
187187
DEFAULT_JUMPSTART_SAGEMAKER_SESSION = None
188-
JUMPSTART_LOGGER.warn(
188+
JUMPSTART_LOGGER.warning(
189189
"Unable to create default JumpStart SageMaker Session due to the following error: %s.",
190190
str(e),
191191
)

0 commit comments

Comments
 (0)