Skip to content

Commit 2621c97

Browse files
committed
use indicative mood
1 parent e6706e6 commit 2621c97

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/sagemaker/processing.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848
tags=None,
4949
network_config=None,
5050
):
51-
"""Initialize a ``Processor`` instance. The ``Processor`` handles Amazon
51+
"""Initializes a ``Processor`` instance. The ``Processor`` handles Amazon
5252
SageMaker Processing tasks.
5353
5454
Args:
@@ -118,7 +118,7 @@ def run(
118118
job_name=None,
119119
experiment_config=None,
120120
):
121-
"""Run a processing job.
121+
"""Runs a processing job.
122122
123123
Args:
124124
inputs (list[:class:`~sagemaker.processing.ProcessingInput`]): Input files for
@@ -164,7 +164,7 @@ def run(
164164
self.latest_job.wait(logs=logs)
165165

166166
def _generate_current_job_name(self, job_name=None):
167-
"""Generate the job name before running a processing job.
167+
"""Generates the job name before running a processing job.
168168
169169
Args:
170170
job_name (str): Name of the processing job to be created. If not
@@ -185,7 +185,7 @@ def _generate_current_job_name(self, job_name=None):
185185
return name_from_base(base_name)
186186

187187
def _normalize_inputs(self, inputs=None):
188-
"""Ensure that all the ``ProcessingInput`` objects have names and S3 URIs.
188+
"""Ensures that all the ``ProcessingInput`` objects have names and S3 URIs.
189189
190190
Args:
191191
inputs (list[sagemaker.processing.ProcessingInput]): A list of ``ProcessingInput``
@@ -230,7 +230,7 @@ def _normalize_inputs(self, inputs=None):
230230
return normalized_inputs
231231

232232
def _normalize_outputs(self, outputs=None):
233-
"""Ensure that all the outputs are ``ProcessingOutput`` objects with
233+
"""Ensures that all the outputs are ``ProcessingOutput`` objects with
234234
names and S3 URIs.
235235
236236
Args:
@@ -291,7 +291,7 @@ def __init__(
291291
tags=None,
292292
network_config=None,
293293
):
294-
"""Initialize a ``ScriptProcessor`` instance. The ``ScriptProcessor``
294+
"""Initializes a ``ScriptProcessor`` instance. The ``ScriptProcessor``
295295
handles Amazon SageMaker Processing tasks for jobs using a machine learning framework.
296296
297297
Args:
@@ -362,7 +362,7 @@ def run(
362362
job_name=None,
363363
experiment_config=None,
364364
):
365-
"""Run a processing job.
365+
"""Runs a processing job.
366366
367367
Args:
368368
code (str): This can be an S3 URI or a local path to
@@ -545,7 +545,7 @@ def __init__(self, sagemaker_session, job_name, inputs, outputs, output_kms_key=
545545

546546
@classmethod
547547
def start_new(cls, processor, inputs, outputs, experiment_config):
548-
"""Start a new processing job using the provided inputs and outputs.
548+
"""Starts a new processing job using the provided inputs and outputs.
549549
550550
Args:
551551
processor (:class:`~sagemaker.processing.Processor`): The ``Processor`` instance
@@ -747,7 +747,7 @@ def __init__(
747747
s3_data_distribution_type="FullyReplicated",
748748
s3_compression_type="None",
749749
):
750-
"""Initialize a ``ProcessingInput`` instance. ``ProcessingInput`` accepts parameters
750+
"""Initializes a ``ProcessingInput`` instance. ``ProcessingInput`` accepts parameters
751751
that specify an Amazon S3 input for a processing job and provides a method
752752
to turn those parameters into a dictionary.
753753
@@ -801,7 +801,7 @@ class ProcessingOutput(object):
801801
a method to turn those parameters into a dictionary."""
802802

803803
def __init__(self, source, destination=None, output_name=None, s3_upload_mode="EndOfJob"):
804-
"""Initialize a ``ProcessingOutput`` instance. ``ProcessingOutput`` accepts parameters that
804+
"""Initializes a ``ProcessingOutput`` instance. ``ProcessingOutput`` accepts parameters that
805805
specify an Amazon S3 output for a processing job and provides a method to turn
806806
those parameters into a dictionary.
807807

0 commit comments

Comments
 (0)