Skip to content

Commit

Permalink
Add @experimental decorators to OneLake related classes (Azure#31829)
Browse files Browse the repository at this point in the history
* Added @experimental decorator to OneLake related classes.

* Removed redundant @experimental decorators from the one_lake schema class as they've been added to one_lake entity class.
  • Loading branch information
youngpark authored Aug 28, 2023
1 parent d8e2e9f commit f8f8742
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
from azure.ai.ml.entities._datastore.utils import from_rest_datastore_credentials
from azure.ai.ml.entities._mixins import DictMixin, RestTranslatableMixin
from azure.ai.ml.entities._util import load_from_dict
from azure.ai.ml._utils._experimental import experimental


@experimental
class OneLakeArtifact(RestTranslatableMixin, DictMixin, ABC):
"""OneLake artifact (data source) backing the OneLake workspace.
Expand All @@ -39,6 +41,7 @@ def __init__(self, name: str, type: Optional[str] = None):
self.type = type


@experimental
class LakeHouseArtifact(OneLakeArtifact):
"""LakeHouse artifact type for OneLake.
Expand All @@ -53,6 +56,7 @@ def _to_datastore_rest_object(self) -> RestLakeHouseArtifact:
return RestLakeHouseArtifact(artifact_name=self.name)


@experimental
class OneLakeDatastore(Datastore):
"""OneLake datastore that is linked to an Azure ML workspace.
Expand Down

0 comments on commit f8f8742

Please sign in to comment.