Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from azure.ai.ml._schema._deployment.deployment import DeploymentSchema
from azure.ai.ml.constants._common import BASE_PATH_CONTEXT_KEY
from azure.ai.ml.constants._deployment import BatchDeploymentType
from azure.ai.ml._schema import ExperimentalField
from .model_batch_deployment_settings import ModelBatchDeploymentSettingsSchema


Expand All @@ -37,7 +36,7 @@ class ModelBatchDeploymentSchema(DeploymentSchema):
allowed_values=[BatchDeploymentType.PIPELINE, BatchDeploymentType.MODEL], required=False
)

settings = ExperimentalField(NestedField(ModelBatchDeploymentSettingsSchema))
settings = NestedField(ModelBatchDeploymentSettingsSchema)

@post_load
def make(self, data: Any, **kwargs: Any) -> Any:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from azure.ai.ml._restclient.v2022_05_01.models import CodeConfiguration as RestCodeConfiguration
from azure.ai.ml._restclient.v2022_05_01.models import IdAssetReference
from azure.ai.ml._schema._deployment.batch.model_batch_deployment import ModelBatchDeploymentSchema
from azure.ai.ml._utils._experimental import experimental
from azure.ai.ml.constants._common import BASE_PATH_CONTEXT_KEY, PARAMS_OVERRIDE_KEY
from azure.ai.ml.constants._deployment import BatchDeploymentOutputAction
from azure.ai.ml.entities._assets import Environment, Model
Expand All @@ -26,7 +25,6 @@
from .model_batch_deployment_settings import ModelBatchDeploymentSettings


@experimental
class ModelBatchDeployment(Deployment):
"""Job Definition entity.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
from typing import Any, Dict, Optional

from azure.ai.ml._schema._deployment.batch.model_batch_deployment_settings import ModelBatchDeploymentSettingsSchema
from azure.ai.ml._utils._experimental import experimental
from azure.ai.ml.constants._common import BASE_PATH_CONTEXT_KEY
from azure.ai.ml.constants._deployment import BatchDeploymentOutputAction
from azure.ai.ml.entities._deployment.deployment_settings import BatchRetrySettings


@experimental
class ModelBatchDeploymentSettings:
"""Model Batch Deployment Settings entity.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
PipelineComponentBatchDeploymentSchema,
)
from azure.ai.ml._utils._arm_id_utils import _parse_endpoint_name_from_deployment_id
from azure.ai.ml._utils._experimental import experimental
from azure.ai.ml._utils.utils import dump_yaml_to_file
from azure.ai.ml.constants._common import BASE_PATH_CONTEXT_KEY, PARAMS_OVERRIDE_KEY
from azure.ai.ml.entities import PipelineComponent
Expand All @@ -26,7 +25,6 @@
from azure.ai.ml.entities._util import load_from_dict


@experimental
class PipelineComponentBatchDeployment(Resource):
"""Pipeline Component Batch Deployment entity.

Expand Down