Skip to content

Commit e6706e6

Browse files
committed
address comments
1 parent 5328f0c commit e6706e6

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

src/sagemaker/processing.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(
6767
to use for storing data during processing (default: 30).
6868
volume_kms_key (str): A KMS key for the processing
6969
volume (default: None).
70-
output_kms_key (str): The KMS key ID for processing job outputs.
70+
output_kms_key (str): The KMS key ID for processing job outputs (default: None).
7171
max_runtime_in_seconds (int): Timeout in seconds (default: None).
7272
After this amount of time, Amazon SageMaker terminates the job,
7373
regardless of its current status.
@@ -80,8 +80,8 @@ def __init__(
8080
one using the default AWS configuration chain.
8181
env (dict[str, str]): Environment variables to be passed to
8282
the processing jobs (default: None).
83-
tags (list[dict]): List of tags to be passed to the processing job.
84-
For more, see
83+
tags (list[dict]): List of tags to be passed to the processing job
84+
(default: None). For more, see
8585
https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html.
8686
network_config (:class:`~sagemaker.network.NetworkConfig`):
8787
A :class:`~sagemaker.network.NetworkConfig`
@@ -189,7 +189,8 @@ def _normalize_inputs(self, inputs=None):
189189
190190
Args:
191191
inputs (list[sagemaker.processing.ProcessingInput]): A list of ``ProcessingInput``
192-
objects to be normalized.
192+
objects to be normalized (default: None). If not specified,
193+
an empty list is returned.
193194
194195
Returns:
195196
list[sagemaker.processing.ProcessingInput]: The list of normalized
@@ -234,8 +235,9 @@ def _normalize_outputs(self, outputs=None):
234235
235236
Args:
236237
outputs (list[sagemaker.processing.ProcessingOutput]): A list
237-
of outputs to be normalized. Can be either strings or
238-
``ProcessingOutput`` objects.
238+
of outputs to be normalized (default: None). Can be either strings or
239+
``ProcessingOutput`` objects. If not specified,
240+
an empty list is returned.
239241
240242
Returns:
241243
list[sagemaker.processing.ProcessingOutput]: The list of normalized
@@ -308,7 +310,7 @@ def __init__(
308310
to use for storing data during processing (default: 30).
309311
volume_kms_key (str): A KMS key for the processing
310312
volume (default: None).
311-
output_kms_key (str): The KMS key ID for processing job outputs.
313+
output_kms_key (str): The KMS key ID for processing job outputs (default: None).
312314
max_runtime_in_seconds (int): Timeout in seconds (default: None).
313315
After this amount of time, Amazon SageMaker terminates the job,
314316
regardless of its current status.
@@ -321,8 +323,8 @@ def __init__(
321323
one using the default AWS configuration chain.
322324
env (dict[str, str]): Environment variables to be passed to
323325
the processing jobs (default: None).
324-
tags (list[dict]): List of tags to be passed to the processing job.
325-
For more, see
326+
tags (list[dict]): List of tags to be passed to the processing job
327+
(default: None). For more, see
326328
https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html.
327329
network_config (:class:`~sagemaker.network.NetworkConfig`):
328330
A :class:`~sagemaker.network.NetworkConfig`
@@ -363,8 +365,8 @@ def run(
363365
"""Run a processing job.
364366
365367
Args:
366-
code (str): This can be an S3 URI or a local path to either
367-
a directory or a file with the framework script to run.
368+
code (str): This can be an S3 URI or a local path to
369+
a file with the framework script to run.
368370
inputs (list[:class:`~sagemaker.processing.ProcessingInput`]): Input files for
369371
the processing job. These must be provided as
370372
:class:`~sagemaker.processing.ProcessingInput` objects (default: None).

0 commit comments

Comments
 (0)