Skip to content

Commit c57ed26

Browse files
nancy-mejiaNancy Mejia Juarez
and
Nancy Mejia Juarez
authored
Fix online deployment and batch deployment documentation (#27086)
Co-authored-by: Nancy Mejia Juarez <[email protected]>
1 parent a0bf6f8 commit c57ed26

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

sdk/ml/azure-ai-ml/azure/ai/ml/entities/_deployment/online_deployment.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ class ManagedOnlineDeployment(OnlineDeployment):
517517
:type scoring_script: Union[str, PathLike], optional
518518
:param egress_public_network_access: Whether to restrict communication between a deployment
519519
and the Azure resources used to by the deployment. Allowed values are: "enabled", "disabled"
520-
:param egress_public_network_access: str
520+
:type egress_public_network_access: str
521521
"""
522522

523523
def __init__(

sdk/ml/azure-ai-ml/azure/ai/ml/operations/_batch_deployment_operations.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ def begin_create_or_update(
7474
7575
:param deployment: The deployment entity.
7676
:type deployment: ~azure.ai.ml.entities.BatchDeployment
77-
:raises ~azure.ai.ml.exceptions.ValidationException: Raised if OnlineDeployment cannot be
77+
:raises ~azure.ai.ml.exceptions.ValidationException: Raised if BatchDeployment cannot be
7878
successfully validated. Details will be provided in the error message.
79-
:raises ~azure.ai.ml.exceptions.AssetException: Raised if OnlineDeployment assets
79+
:raises ~azure.ai.ml.exceptions.AssetException: Raised if BatchDeployment assets
8080
(e.g. Data, Code, Model, Environment) cannot be successfully validated.
8181
Details will be provided in the error message.
82-
:raises ~azure.ai.ml.exceptions.ModelException: Raised if OnlineDeployment model
82+
:raises ~azure.ai.ml.exceptions.ModelException: Raised if BatchDeployment model
8383
cannot be successfully validated. Details will be provided in the error message.
8484
:return: A poller to track the operation status.
8585
:rtype: ~azure.core.polling.LROPoller[~azure.ai.ml.entities.BatchDeployment]
@@ -213,7 +213,7 @@ def list_jobs(self, endpoint_name: str, *, name: str = None) -> ItemPaged[BatchJ
213213
:type name: str
214214
:raise: Exception if endpoint_type is not BATCH_ENDPOINT_TYPE
215215
:return: List of jobs
216-
:rtype: ItemPaged[BatchJob]
216+
:rtype: ~azure.core.paging.ItemPaged[BatchJob]
217217
"""
218218

219219
workspace_operations = self._all_operations.all_operations[AzureMLResourceType.WORKSPACE]

0 commit comments

Comments
 (0)