Skip to content

Commit 235d855

Browse files
authored
Remove preview markers for registry CRUD (Azure#29990)
* remove experimental * remove experiemental
1 parent d227bda commit 235d855

File tree

5 files changed

+0
-15
lines changed

5 files changed

+0
-15
lines changed

sdk/ml/azure-ai-ml/azure/ai/ml/_schema/registry/registry.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from azure.ai.ml._schema.core.intellectual_property import PublisherSchema
99
from azure.ai.ml._schema.core.resource import ResourceSchema
1010
from azure.ai.ml._schema.workspace.identity import IdentitySchema
11-
from azure.ai.ml._utils._experimental import experimental
1211
from azure.ai.ml._utils.utils import snake_to_pascal
1312
from azure.ai.ml.constants._common import PublicNetworkAccess
1413
from azure.ai.ml.constants._registry import AcrAccountSku
@@ -20,7 +19,6 @@
2019

2120

2221
# Based on 10-01-preview api
23-
@experimental
2422
class RegistrySchema(ResourceSchema):
2523
# Inherits name, id, tags, and description fields from ResourceSchema
2624

sdk/ml/azure-ai-ml/azure/ai/ml/_schema/registry/system_created_storage_account.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88

99
from azure.ai.ml._schema import StringTransformedEnum
1010
from azure.ai.ml._schema.core.schema_meta import PatchedSchemaMeta
11-
from azure.ai.ml._utils._experimental import experimental
1211
from azure.ai.ml.constants._registry import StorageAccountType
1312

1413

15-
@experimental
1614
class SystemCreatedStorageAccountSchema(metaclass=PatchedSchemaMeta):
1715
arm_resource_id = fields.Str(dump_only=True)
1816
storage_account_hns = fields.Bool(load_default=False)

sdk/ml/azure-ai-ml/azure/ai/ml/entities/_registry/registry.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
)
1515
from azure.ai.ml._restclient.v2022_10_01_preview.models import Registry as RestRegistry
1616
from azure.ai.ml._restclient.v2022_10_01_preview.models import RegistryProperties
17-
from azure.ai.ml._utils._experimental import experimental
1817
from azure.ai.ml._utils.utils import dump_yaml_to_file
1918
from azure.ai.ml.constants._common import BASE_PATH_CONTEXT_KEY, PARAMS_OVERRIDE_KEY
2019
from azure.ai.ml.entities._assets.intellectual_property import IntellectualProperty
@@ -29,7 +28,6 @@
2928
INTELLECTUAL_PROPERTY = "intellectual_property"
3029

3130

32-
@experimental
3331
class Registry(Resource):
3432
def __init__(
3533
self,

sdk/ml/azure-ai-ml/azure/ai/ml/entities/_registry/registry_support_classes.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
SystemCreatedStorageAccount as RestSystemCreatedStorageAccount,
1818
)
1919
from azure.ai.ml._restclient.v2022_10_01_preview.models import UserCreatedAcrAccount as RestUserCreatedAcrAccount
20-
from azure.ai.ml._utils._experimental import experimental
2120
from azure.ai.ml.constants._registry import StorageAccountType
2221
from azure.ai.ml.exceptions import ErrorCategory, ErrorTarget, ValidationErrorType, ValidationException
2322

@@ -26,7 +25,6 @@
2625

2726
# This exists despite not being used by the schema validator because this entire
2827
# class is an output only value from the API.
29-
@experimental
3028
class SystemCreatedAcrAccount:
3129
def __init__(
3230
self,
@@ -88,7 +86,6 @@ def _from_rest_object(cls, rest_obj: RestAcrDetails) -> "Union[str, SystemCreate
8886
return None
8987

9088

91-
@experimental
9289
class SystemCreatedStorageAccount:
9390
def __init__(
9491
self,
@@ -125,7 +122,6 @@ def __init__(
125122

126123

127124
# Per-region information for registries.
128-
@experimental
129125
class RegistryRegionDetails:
130126
def __init__(
131127
self,

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
from azure.ai.ml._restclient.v2022_10_01_preview import AzureMachineLearningWorkspaces as ServiceClient102022
1010
from azure.ai.ml._scope_dependent_operations import OperationsContainer, OperationScope
11-
from azure.ai.ml._utils._experimental import experimental
1211

1312
from azure.ai.ml._telemetry import ActivityType, monitor_with_activity
1413
from azure.ai.ml._utils._logger_utils import OpsLogger
@@ -50,7 +49,6 @@ def __init__(
5049
self._init_kwargs = kwargs
5150

5251
@monitor_with_activity(logger, "Registry.List", ActivityType.PUBLICAPI)
53-
@experimental
5452
def list(self, *, scope: str = Scope.RESOURCE_GROUP) -> Iterable[Registry]:
5553
"""List all registries that the user has access to in the current resource group or subscription.
5654
@@ -69,7 +67,6 @@ def list(self, *, scope: str = Scope.RESOURCE_GROUP) -> Iterable[Registry]:
6967
)
7068

7169
@monitor_with_activity(logger, "Registry.Get", ActivityType.PUBLICAPI)
72-
@experimental
7370
def get(self, name: Optional[str] = None) -> Registry:
7471
"""Get a registry by name.
7572
@@ -110,7 +107,6 @@ def _get_polling(self, name):
110107
)
111108

112109
@monitor_with_activity(logger, "Registry.BeginCreate", ActivityType.PUBLICAPI)
113-
@experimental
114110
def begin_create(
115111
self,
116112
registry: Registry,
@@ -143,7 +139,6 @@ def begin_create(
143139
return poller
144140

145141
@monitor_with_activity(logger, "Registry.BeginDelete", ActivityType.PUBLICAPI)
146-
@experimental
147142
def begin_delete(self, *, name: str, **kwargs: Dict) -> LROPoller[None]:
148143
"""Delete a registry if it exists. Returns nothing on a successful operation.
149144

0 commit comments

Comments
 (0)