Skip to content

Commit 004614a

Browse files
authored
doc: fix docstring wording. (aws#1138)
1 parent b74e8ff commit 004614a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/sagemaker/utils.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -616,13 +616,14 @@ def _module_import_error(py_module, feature, extras):
616616
617617
Args:
618618
py_module (str): Module that failed to be imported
619-
feature (str): Affected sagemaker feature
620-
extras (str): Name of the extra_requirements to install all of the dependencies
619+
feature (str): Affected SageMaker feature
620+
extras (str): Name of the `extras_require` to install the relevant dependencies
621+
621622
Returns:
622623
str: Error message with installation instructions.
623624
"""
624625
error_msg = (
625-
"Failed to import {}. {} features will be impaired or broken."
626+
"Failed to import {}. {} features will be impaired or broken. "
626627
"Please run \"pip install 'sagemaker[{}]'\" "
627628
"to install all required dependencies."
628629
)

0 commit comments

Comments
 (0)