Open
Description
Which example? Describe the issue
Code Snippet:
from azure.ai.ml.entities import (
AzureDataLakeGen2Datastore
)
adlsg2_datastore = AzureDataLakeGen2Datastore(
name="adls-gen2-example",
description="Datastore pointing to an Azure Data Lake Storage Gen2.",
account_name="mytestdatalakegen2",
filesystem="my-gen2-container",
credentials={
"tenant_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"client_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"client_secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
},
)
ml_client.create_or_update(adlsg2_datastore)
Error: AttributeError: 'dict' object has no attribute '_to_rest_object'