@@ -67,7 +67,7 @@ def __init__(
67
67
to use for storing data during processing (default: 30).
68
68
volume_kms_key (str): A KMS key for the processing
69
69
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) .
71
71
max_runtime_in_seconds (int): Timeout in seconds (default: None).
72
72
After this amount of time, Amazon SageMaker terminates the job,
73
73
regardless of its current status.
@@ -80,8 +80,8 @@ def __init__(
80
80
one using the default AWS configuration chain.
81
81
env (dict[str, str]): Environment variables to be passed to
82
82
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
85
85
https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html.
86
86
network_config (:class:`~sagemaker.network.NetworkConfig`):
87
87
A :class:`~sagemaker.network.NetworkConfig`
@@ -189,7 +189,8 @@ def _normalize_inputs(self, inputs=None):
189
189
190
190
Args:
191
191
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.
193
194
194
195
Returns:
195
196
list[sagemaker.processing.ProcessingInput]: The list of normalized
@@ -234,8 +235,9 @@ def _normalize_outputs(self, outputs=None):
234
235
235
236
Args:
236
237
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.
239
241
240
242
Returns:
241
243
list[sagemaker.processing.ProcessingOutput]: The list of normalized
@@ -308,7 +310,7 @@ def __init__(
308
310
to use for storing data during processing (default: 30).
309
311
volume_kms_key (str): A KMS key for the processing
310
312
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) .
312
314
max_runtime_in_seconds (int): Timeout in seconds (default: None).
313
315
After this amount of time, Amazon SageMaker terminates the job,
314
316
regardless of its current status.
@@ -321,8 +323,8 @@ def __init__(
321
323
one using the default AWS configuration chain.
322
324
env (dict[str, str]): Environment variables to be passed to
323
325
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
326
328
https://docs.aws.amazon.com/sagemaker/latest/dg/API_Tag.html.
327
329
network_config (:class:`~sagemaker.network.NetworkConfig`):
328
330
A :class:`~sagemaker.network.NetworkConfig`
@@ -363,8 +365,8 @@ def run(
363
365
"""Run a processing job.
364
366
365
367
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.
368
370
inputs (list[:class:`~sagemaker.processing.ProcessingInput`]): Input files for
369
371
the processing job. These must be provided as
370
372
:class:`~sagemaker.processing.ProcessingInput` objects (default: None).
0 commit comments