Skip to content

Commit 1de42cb

Browse files
authored
update warning message
1 parent b8e8d61 commit 1de42cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/automl/automl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ def fit(self, inputs=None, wait=True, logs=True, job_name=None):
8282
be uploaded to an S3 location.
8383
wait (bool): Whether the call should wait until the job completes (default: True).
8484
logs (bool): Whether to show the logs produced by the job. Only meaningful when wait
85-
is True (default: True). if `wait` is False, `logs` will be set to False as well.
85+
is True (default: True). if ``wait`` is False, ``logs`` will be set to False as well.
8686
job_name (str): Training job name. If not specified, the estimator generates
8787
a default job name, based on the training image name and current timestamp.
8888
"""
8989
if not wait and logs:
9090
logs = False
91-
logger.warning("logs will be set to False. logs is only meaningful when wait is True.")
91+
logger.warning("Setting logs to False. logs is only meaningful when wait is True.")
9292

9393
# upload data for users if provided local path
9494
# validations are done in _Job._format_inputs_to_input_config

0 commit comments

Comments
 (0)