Skip to content

Commit e99cb3c

Browse files
committed
fix: docstring
1 parent 63431d5 commit e99cb3c

24 files changed

+44
-44
lines changed

src/sagemaker/accept_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def retrieve_options(
4343
(exception not raised). False if these models should raise an exception.
4444
(Default: False).
4545
sagemaker_session (sagemaker.session.Session): A SageMaker Session
46-
object, used for SageMaker interactions (Default: None). If not
46+
object, used for SageMaker interactions. If not
4747
specified, one is created using the default AWS configuration
4848
chain. (Default: Session()).
4949
Returns:
@@ -92,7 +92,7 @@ def retrieve_default(
9292
(exception not raised). False if these models should raise an exception.
9393
(Default: False).
9494
sagemaker_session (sagemaker.session.Session): A SageMaker Session
95-
object, used for SageMaker interactions (Default: None). If not
95+
object, used for SageMaker interactions. If not
9696
specified, one is created using the default AWS configuration
9797
chain. (Default: Session()).
9898
Returns:

src/sagemaker/content_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def retrieve_options(
4343
(exception not raised). False if these models should raise an exception.
4444
(Default: False).
4545
sagemaker_session (sagemaker.session.Session): A SageMaker Session
46-
object, used for SageMaker interactions (Default: None). If not
46+
object, used for SageMaker interactions. If not
4747
specified, one is created using the default AWS configuration
4848
chain. (Default: Session()).
4949
Returns:
@@ -92,7 +92,7 @@ def retrieve_default(
9292
(exception not raised). False if these models should raise an exception.
9393
(Default: False).
9494
sagemaker_session (sagemaker.session.Session): A SageMaker Session
95-
object, used for SageMaker interactions (Default: None). If not
95+
object, used for SageMaker interactions. If not
9696
specified, one is created using the default AWS configuration
9797
chain. (Default: Session()).
9898
Returns:

src/sagemaker/deserializers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def retrieve_options(
6161
(exception not raised). False if these models should raise an exception.
6262
(Default: False).
6363
sagemaker_session (sagemaker.session.Session): A SageMaker Session
64-
object, used for SageMaker interactions (Default: None). If not
64+
object, used for SageMaker interactions. If not
6565
specified, one is created using the default AWS configuration
6666
chain. (Default: Session()).
6767
Returns:
@@ -111,7 +111,7 @@ def retrieve_default(
111111
(exception not raised). False if these models should raise an exception.
112112
(Default: False).
113113
sagemaker_session (sagemaker.session.Session): A SageMaker Session
114-
object, used for SageMaker interactions (Default: None). If not
114+
object, used for SageMaker interactions. If not
115115
specified, one is created using the default AWS configuration
116116
chain. (Default: Session()).
117117
Returns:

src/sagemaker/environment_variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def retrieve_default(
5454
variables that would be required when making the low-level AWS API call.
5555
(Default: True).
5656
sagemaker_session (sagemaker.session.Session): A SageMaker Session
57-
object, used for SageMaker interactions (Default: None). If not
57+
object, used for SageMaker interactions. If not
5858
specified, one is created using the default AWS configuration
5959
chain. (Default: Session()).
6060
Returns:

src/sagemaker/hyperparameters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def retrieve_default(
5959
(exception not raised). False if these models should raise an exception.
6060
(Default: False).
6161
sagemaker_session (sagemaker.session.Session): A SageMaker Session
62-
object, used for SageMaker interactions (Default: None). If not
62+
object, used for SageMaker interactions. If not
6363
specified, one is created using the default AWS configuration
6464
chain. (Default: Session()).
6565
Returns:
@@ -118,7 +118,7 @@ def validate(
118118
(exception not raised). False if these models should raise an exception.
119119
(Default: False).
120120
sagemaker_session (sagemaker.session.Session): A SageMaker Session
121-
object, used for SageMaker interactions (Default: None). If not
121+
object, used for SageMaker interactions. If not
122122
specified, one is created using the default AWS configuration
123123
chain. (Default: Session()).
124124

src/sagemaker/image_uris.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def retrieve(
112112
Specifies configuration related to serverless endpoint. Instance type is
113113
not provided in serverless inference. So this is used to determine processor type.
114114
sagemaker_session (sagemaker.session.Session): A SageMaker Session
115-
object, used for SageMaker interactions (Default: None). If not
115+
object, used for SageMaker interactions. If not
116116
specified, one is created using the default AWS configuration
117117
chain. (Default: Session()).
118118

src/sagemaker/instance_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def retrieve_default(
5252
(exception not raised). False if these models should raise an exception.
5353
(Default: False).
5454
sagemaker_session (sagemaker.session.Session): A SageMaker Session
55-
object, used for SageMaker interactions (Default: None). If not
55+
object, used for SageMaker interactions. If not
5656
specified, one is created using the default AWS configuration
5757
chain. (Default: Session()).
5858
Returns:
@@ -106,7 +106,7 @@ def retrieve(
106106
(exception not raised). False if these models should raise an exception.
107107
(Default: False).
108108
sagemaker_session (sagemaker.session.Session): A SageMaker Session
109-
object, used for SageMaker interactions (Default: None). If not
109+
object, used for SageMaker interactions. If not
110110
specified, one is created using the default AWS configuration
111111
chain. (Default: Session()).
112112
Returns:

src/sagemaker/jumpstart/artifacts/environment_variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _retrieve_default_environment_variables(
5555
variables that would be required when making the low-level AWS API call.
5656
(Default: True).
5757
sagemaker_session (sagemaker.session.Session): A SageMaker Session
58-
object, used for SageMaker interactions (Default: None). If not
58+
object, used for SageMaker interactions. If not
5959
specified, one is created using the default AWS configuration
6060
chain. (Default: Session()).
6161
Returns:

src/sagemaker/jumpstart/artifacts/hyperparameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _retrieve_default_hyperparameters(
5959
specifications should be tolerated (exception not raised). If False, raises
6060
an exception if the version of the model is deprecated. (Default: False).
6161
sagemaker_session (sagemaker.session.Session): A SageMaker Session
62-
object, used for SageMaker interactions (Default: None). If not
62+
object, used for SageMaker interactions. If not
6363
specified, one is created using the default AWS configuration
6464
chain. (Default: Session()).
6565
Returns:

src/sagemaker/jumpstart/artifacts/image_uris.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _retrieve_image_uri(
9191
specifications should be tolerated (exception not raised). If False, raises
9292
an exception if the version of the model is deprecated. (Default: False).
9393
sagemaker_session (sagemaker.session.Session): A SageMaker Session
94-
object, used for SageMaker interactions (Default: None). If not
94+
object, used for SageMaker interactions. If not
9595
specified, one is created using the default AWS configuration
9696
chain. (Default: Session()).
9797
Returns:

src/sagemaker/jumpstart/artifacts/incremental_training.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _model_supports_incremental_training(
5050
specifications should be tolerated (exception not raised). If False, raises
5151
an exception if the version of the model is deprecated. (Default: False).
5252
sagemaker_session (sagemaker.session.Session): A SageMaker Session
53-
object, used for SageMaker interactions (Default: None). If not
53+
object, used for SageMaker interactions. If not
5454
specified, one is created using the default AWS configuration
5555
chain. (Default: Session()).
5656
Returns:

src/sagemaker/jumpstart/artifacts/instance_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def _retrieve_default_instance_type(
5656
specifications should be tolerated (exception not raised). If False, raises
5757
an exception if the version of the model is deprecated. (Default: False).
5858
sagemaker_session (sagemaker.session.Session): A SageMaker Session
59-
object, used for SageMaker interactions (Default: None). If not
59+
object, used for SageMaker interactions. If not
6060
specified, one is created using the default AWS configuration
6161
chain. (Default: Session()).
6262
Returns:
@@ -122,7 +122,7 @@ def _retrieve_instance_types(
122122
specifications should be tolerated (exception not raised). If False, raises
123123
an exception if the version of the model is deprecated. (Default: False).
124124
sagemaker_session (sagemaker.session.Session): A SageMaker Session
125-
object, used for SageMaker interactions (Default: None). If not
125+
object, used for SageMaker interactions. If not
126126
specified, one is created using the default AWS configuration
127127
chain. (Default: Session()).
128128
Returns:

src/sagemaker/jumpstart/artifacts/kwargs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def _retrieve_model_init_kwargs(
5252
specifications should be tolerated (exception not raised). If False, raises
5353
an exception if the version of the model is deprecated. (Default: False).
5454
sagemaker_session (sagemaker.session.Session): A SageMaker Session
55-
object, used for SageMaker interactions (Default: None). If not
55+
object, used for SageMaker interactions. If not
5656
specified, one is created using the default AWS configuration
5757
chain. (Default: Session()).
5858
Returns:
@@ -108,7 +108,7 @@ def _retrieve_model_deploy_kwargs(
108108
specifications should be tolerated (exception not raised). If False, raises
109109
an exception if the version of the model is deprecated. (Default: False).
110110
sagemaker_session (sagemaker.session.Session): A SageMaker Session
111-
object, used for SageMaker interactions (Default: None). If not
111+
object, used for SageMaker interactions. If not
112112
specified, one is created using the default AWS configuration
113113
chain. (Default: Session()).
114114
@@ -163,7 +163,7 @@ def _retrieve_estimator_init_kwargs(
163163
specifications should be tolerated (exception not raised). If False, raises
164164
an exception if the version of the model is deprecated. (Default: False).
165165
sagemaker_session (sagemaker.session.Session): A SageMaker Session
166-
object, used for SageMaker interactions (Default: None). If not
166+
object, used for SageMaker interactions. If not
167167
specified, one is created using the default AWS configuration
168168
chain. (Default: Session()).
169169
Returns:
@@ -219,7 +219,7 @@ def _retrieve_estimator_fit_kwargs(
219219
specifications should be tolerated (exception not raised). If False, raises
220220
an exception if the version of the model is deprecated. (Default: False).
221221
sagemaker_session (sagemaker.session.Session): A SageMaker Session
222-
object, used for SageMaker interactions (Default: None). If not
222+
object, used for SageMaker interactions. If not
223223
specified, one is created using the default AWS configuration
224224
chain. (Default: Session()).
225225

src/sagemaker/jumpstart/artifacts/metric_definitions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def _retrieve_default_training_metric_definitions(
5151
specifications should be tolerated (exception not raised). If False, raises
5252
an exception if the version of the model is deprecated. (Default: False).
5353
sagemaker_session (sagemaker.session.Session): A SageMaker Session
54-
object, used for SageMaker interactions (Default: None). If not
54+
object, used for SageMaker interactions. If not
5555
specified, one is created using the default AWS configuration
5656
chain. (Default: Session()).
5757
Returns:

src/sagemaker/jumpstart/artifacts/model_packages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def _retrieve_model_package_arn(
5151
specifications should be tolerated (exception not raised). If False, raises
5252
an exception if the version of the model is deprecated. (Default: False).
5353
sagemaker_session (sagemaker.session.Session): A SageMaker Session
54-
object, used for SageMaker interactions (Default: None). If not
54+
object, used for SageMaker interactions. If not
5555
specified, one is created using the default AWS configuration
5656
chain. (Default: Session()).
5757
@@ -112,7 +112,7 @@ def _retrieve_model_package_model_artifact_s3_uri(
112112
specifications should be tolerated (exception not raised). If False, raises
113113
an exception if the version of the model is deprecated. (Default: False).
114114
sagemaker_session (sagemaker.session.Session): A SageMaker Session
115-
object, used for SageMaker interactions (Default: None). If not
115+
object, used for SageMaker interactions. If not
116116
specified, one is created using the default AWS configuration
117117
chain. (Default: Session()).
118118
Returns:

src/sagemaker/jumpstart/artifacts/model_uris.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _retrieve_model_uri(
5858
specifications should be tolerated (exception not raised). If False, raises
5959
an exception if the version of the model is deprecated. (Default: False).
6060
sagemaker_session (sagemaker.session.Session): A SageMaker Session
61-
object, used for SageMaker interactions (Default: None). If not
61+
object, used for SageMaker interactions. If not
6262
specified, one is created using the default AWS configuration
6363
chain. (Default: Session()).
6464
Returns:
@@ -126,7 +126,7 @@ def _model_supports_training_model_uri(
126126
specifications should be tolerated (exception not raised). If False, raises
127127
an exception if the version of the model is deprecated. (Default: False).
128128
sagemaker_session (sagemaker.session.Session): A SageMaker Session
129-
object, used for SageMaker interactions (Default: None). If not
129+
object, used for SageMaker interactions. If not
130130
specified, one is created using the default AWS configuration
131131
chain. (Default: Session()).
132132
Returns:

src/sagemaker/jumpstart/artifacts/predictors.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _retrieve_default_deserializer(
9292
specifications should be tolerated (exception not raised). If False, raises
9393
an exception if the version of the model is deprecated. (Default: False).
9494
sagemaker_session (sagemaker.session.Session): A SageMaker Session
95-
object, used for SageMaker interactions (Default: None). If not
95+
object, used for SageMaker interactions. If not
9696
specified, one is created using the default AWS configuration
9797
chain. (Default: Session()).
9898
@@ -136,7 +136,7 @@ def _retrieve_default_serializer(
136136
specifications should be tolerated (exception not raised). If False, raises
137137
an exception if the version of the model is deprecated. (Default: False).
138138
sagemaker_session (sagemaker.session.Session): A SageMaker Session
139-
object, used for SageMaker interactions (Default: None). If not
139+
object, used for SageMaker interactions. If not
140140
specified, one is created using the default AWS configuration
141141
chain. (Default: Session()).
142142
Returns:
@@ -179,7 +179,7 @@ def _retrieve_deserializer_options(
179179
specifications should be tolerated (exception not raised). If False, raises
180180
an exception if the version of the model is deprecated. (Default: False).
181181
sagemaker_session (sagemaker.session.Session): A SageMaker Session
182-
object, used for SageMaker interactions (Default: None). If not
182+
object, used for SageMaker interactions. If not
183183
specified, one is created using the default AWS configuration
184184
chain. (Default: Session()).
185185
Returns:
@@ -236,7 +236,7 @@ def _retrieve_serializer_options(
236236
specifications should be tolerated (exception not raised). If False, raises
237237
an exception if the version of the model is deprecated. (Default: False).
238238
sagemaker_session (sagemaker.session.Session): A SageMaker Session
239-
object, used for SageMaker interactions (Default: None). If not
239+
object, used for SageMaker interactions. If not
240240
specified, one is created using the default AWS configuration
241241
chain. (Default: Session()).
242242
Returns:
@@ -293,7 +293,7 @@ def _retrieve_default_content_type(
293293
specifications should be tolerated (exception not raised). If False, raises
294294
an exception if the version of the model is deprecated. (Default: False).
295295
sagemaker_session (sagemaker.session.Session): A SageMaker Session
296-
object, used for SageMaker interactions (Default: None). If not
296+
object, used for SageMaker interactions. If not
297297
specified, one is created using the default AWS configuration
298298
chain. (Default: Session()).
299299
Returns:
@@ -341,7 +341,7 @@ def _retrieve_default_accept_type(
341341
specifications should be tolerated (exception not raised). If False, raises
342342
an exception if the version of the model is deprecated. (Default: False).
343343
sagemaker_session (sagemaker.session.Session): A SageMaker Session
344-
object, used for SageMaker interactions (Default: None). If not
344+
object, used for SageMaker interactions. If not
345345
specified, one is created using the default AWS configuration
346346
chain. (Default: Session()).
347347
Returns:
@@ -390,7 +390,7 @@ def _retrieve_supported_accept_types(
390390
specifications should be tolerated (exception not raised). If False, raises
391391
an exception if the version of the model is deprecated. (Default: False).
392392
sagemaker_session (sagemaker.session.Session): A SageMaker Session
393-
object, used for SageMaker interactions (Default: None). If not
393+
object, used for SageMaker interactions. If not
394394
specified, one is created using the default AWS configuration
395395
chain. (Default: Session()).
396396
Returns:
@@ -439,7 +439,7 @@ def _retrieve_supported_content_types(
439439
specifications should be tolerated (exception not raised). If False, raises
440440
an exception if the version of the model is deprecated. (Default: False).
441441
sagemaker_session (sagemaker.session.Session): A SageMaker Session
442-
object, used for SageMaker interactions (Default: None). If not
442+
object, used for SageMaker interactions. If not
443443
specified, one is created using the default AWS configuration
444444
chain. (Default: Session()).
445445
Returns:

src/sagemaker/jumpstart/artifacts/resource_names.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def _retrieve_resource_name_base(
5050
specifications should be tolerated (exception not raised). If False, raises
5151
an exception if the version of the model is deprecated. (Default: False).
5252
sagemaker_session (sagemaker.session.Session): A SageMaker Session
53-
object, used for SageMaker interactions (Default: None). If not
53+
object, used for SageMaker interactions. If not
5454
specified, one is created using the default AWS configuration
5555
chain. (Default: Session()).
5656
Returns:

0 commit comments

Comments
 (0)