Skip to content

Commit 7b88b6d

Browse files
committed
fix docstring
1 parent 7f1150e commit 7b88b6d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/sagemaker/predictor.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,22 +172,22 @@ def update_endpoint(
172172
173173
This creates a new EndpointConfig in the process. If ``initial_instance_count``,
174174
``instance_type``, ``accelerator_type``, or ``model_name`` is specified, then a new
175-
``ProductionVariant`` configuration is created; values from the existing configuration
175+
ProductionVariant configuration is created; values from the existing configuration
176176
are not preserved if any of those parameters are specified.
177177
178178
Args:
179179
initial_instance_count (int): The initial number of instances to run in the endpoint.
180180
This is required if ``instance_type``, ``accelerator_type``, or ``model_name`` is
181181
specified. Otherwise, the values from the existing endpoint configuration's
182-
``ProductionVariant``s are used.
182+
ProductionVariants are used.
183183
instance_type (str): The EC2 instance type to deploy the endpoint to.
184184
This is required if ``initial_instance_count`` or ``accelerator_type`` is specified.
185185
Otherwise, the values from the existing endpoint configuration's
186-
``ProductionVariant``s are used.
186+
``ProductionVariants`` are used.
187187
accelerator_type (str): The type of Elastic Inference accelerator to attach to
188-
the endpoint, e.g. 'ml.eia1.medium'. If not specified, and
188+
the endpoint, e.g. "ml.eia1.medium". If not specified, and
189189
``initial_instance_count``, ``instance_type``, and ``model_name`` are also ``None``,
190-
the values from the existing endpoint configuration's ``ProductionVariant``s are
190+
the values from the existing endpoint configuration's ``ProductionVariants`` are
191191
used. Otherwise, no Elastic Inference accelerator is attached to the endpoint.
192192
model_name (str): The name of the model to be associated with the endpoint.
193193
This is required if ``initial_instance_count``, ``instance_type``, or

0 commit comments

Comments
 (0)