Skip to content

Commit 2fa95f5

Browse files
committed
doc: modified docstrings to comply with PEP257 standards
1 parent 425bf38 commit 2fa95f5

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/sagemaker/model_monitor/model_monitoring.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,9 +1154,7 @@ def _s3_uri_from_local_path(self, path):
11541154
return path
11551155

11561156
def _wait_for_schedule_changes_to_apply(self):
1157-
"""Waits for the schedule associated with this monitor."""
1158-
1159-
"""It checks if this monitor to no longer be in the 'Pending' state."""
1157+
"""Waits for the schedule to no longer be in the 'Pending' state."""
11601158
for _ in retries(
11611159
max_retry_count=36, # 36*5 = 3min
11621160
exception_message_prefix="Waiting for schedule to leave 'Pending' status",

src/sagemaker/tensorflow/model.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def prepare_container_def(self, instance_type=None, accelerator_type=None):
348348
return sagemaker.container_def(image_uri, model_data, env)
349349

350350
def _get_container_env(self):
351-
351+
"""Placeholder docstring."""
352352
if not self._container_log_level:
353353
return self.env
354354

@@ -361,11 +361,7 @@ def _get_container_env(self):
361361
return env
362362

363363
def _get_image_uri(self, instance_type, accelerator_type=None):
364-
"""
365-
Args:
366-
instance_type:
367-
accelerator_type:
368-
"""
364+
"""Placeholder docstring."""
369365
if self.image_uri:
370366
return self.image_uri
371367

0 commit comments

Comments
 (0)