Skip to content

Commit aceb8e0

Browse files
authored
doc: correct MultiString/MULTI_STRING docstring (aws#1340)
1 parent d203f9d commit aceb8e0

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

src/sagemaker/algorithm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ def transformer(
328328
instance_type (str): Type of EC2 instance to use, for example,
329329
'ml.c4.xlarge'.
330330
strategy (str): The strategy used to decide how to batch records in
331-
a single request (default: None). Valid values: 'MULTI_RECORD'
332-
and 'SINGLE_RECORD'.
331+
a single request (default: None). Valid values: 'MultiRecord'
332+
and 'SingleRecord'.
333333
assemble_with (str): How the output is assembled (default: None).
334334
Valid values: 'Line' or 'None'.
335335
output_path (str): S3 location for saving the transform result. If

src/sagemaker/estimator.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,8 @@ def transformer(
823823
instance_type (str): Type of EC2 instance to use, for example,
824824
'ml.c4.xlarge'.
825825
strategy (str): The strategy used to decide how to batch records in
826-
a single request (default: None). Valid values: 'MULTI_RECORD'
827-
and 'SINGLE_RECORD'.
826+
a single request (default: None). Valid values: 'MultiRecord'
827+
and 'SingleRecord'.
828828
assemble_with (str): How the output is assembled (default: None).
829829
Valid values: 'Line' or 'None'.
830830
output_path (str): S3 location for saving the transform result. If
@@ -1895,8 +1895,8 @@ def transformer(
18951895
instance_type (str): Type of EC2 instance to use, for example,
18961896
'ml.c4.xlarge'.
18971897
strategy (str): The strategy used to decide how to batch records in
1898-
a single request (default: None). Valid values: 'MULTI_RECORD'
1899-
and 'SINGLE_RECORD'.
1898+
a single request (default: None). Valid values: 'MultiRecord'
1899+
and 'SingleRecord'.
19001900
assemble_with (str): How the output is assembled (default: None).
19011901
Valid values: 'Line' or 'None'.
19021902
output_path (str): S3 location for saving the transform result. If

src/sagemaker/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,8 @@ def transformer(
504504
instance_type (str): Type of EC2 instance to use, for example,
505505
'ml.c4.xlarge'.
506506
strategy (str): The strategy used to decide how to batch records in
507-
a single request (default: None). Valid values: 'MULTI_RECORD'
508-
and 'SINGLE_RECORD'.
507+
a single request (default: None). Valid values: 'MultiRecord'
508+
and 'SingleRecord'.
509509
assemble_with (str): How the output is assembled (default: None).
510510
Valid values: 'Line' or 'None'.
511511
output_path (str): S3 location for saving the transform result. If

src/sagemaker/pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ def transformer(
215215
instance_type (str): Type of EC2 instance to use, for example,
216216
'ml.c4.xlarge'.
217217
strategy (str): The strategy used to decide how to batch records in
218-
a single request (default: None). Valid values: 'MULTI_RECORD'
219-
and 'SINGLE_RECORD'.
218+
a single request (default: None). Valid values: 'MultiRecord'
219+
and 'SingleRecord'.
220220
assemble_with (str): How the output is assembled (default: None).
221221
Valid values: 'Line' or 'None'.
222222
output_path (str): S3 location for saving the transform result. If

src/sagemaker/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1968,7 +1968,7 @@ def transform(
19681968
job_name (str): Name of the transform job being created.
19691969
model_name (str): Name of the SageMaker model being used for the transform job.
19701970
strategy (str): The strategy used to decide how to batch records in a single request.
1971-
Possible values are 'MULTI_RECORD' and 'SINGLE_RECORD'.
1971+
Possible values are 'MultiRecord' and 'SingleRecord'.
19721972
max_concurrent_transforms (int): The maximum number of HTTP requests to be made to
19731973
each individual transform container at one time.
19741974
max_payload (int): Maximum size of the payload in a single HTTP request to the

src/sagemaker/tensorflow/estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ def transformer(
772772
instance_count (int): Number of EC2 instances to use.
773773
instance_type (str): Type of EC2 instance to use, for example, 'ml.c4.xlarge'.
774774
strategy (str): The strategy used to decide how to batch records in a single request
775-
(default: None). Valid values: 'MULTI_RECORD' and 'SINGLE_RECORD'.
775+
(default: None). Valid values: 'MultiRecord' and 'SingleRecord'.
776776
assemble_with (str): How the output is assembled (default: None). Valid values: 'Line'
777777
or 'None'.
778778
output_path (str): S3 location for saving the transform result. If not specified,

src/sagemaker/workflow/airflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,8 @@ def transform_config_from_estimator(
802802
model_name (str): model name (default: None). If not specified, one will
803803
be generated.
804804
strategy (str): The strategy used to decide how to batch records in a
805-
single request (default: None). Valid values: 'MULTI_RECORD' and
806-
'SINGLE_RECORD'.
805+
single request (default: None). Valid values: 'MultiRecord' and
806+
'SingleRecord'.
807807
assemble_with (str): How the output is assembled (default: None). Valid
808808
values: 'Line' or 'None'.
809809
output_path (str): S3 location for saving the transform result. If not

0 commit comments

Comments
 (0)