Skip to content

Commit 4a6c10d

Browse files
Merge pull request #215016 from SturgeonMi/patch-12
Update migrate-to-v2-resource-datastore.md
2 parents 6dab44b + f4c1bf5 commit 4a6c10d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/machine-learning/migrate-to-v2-resource-datastore.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ This article gives a comparison of scenario(s) in SDK v1 and SDK v2.
8888
description="Datastore pointing to a blob container using SAS token.",
8989
account_name="mytestblobstore",
9090
container_name="data-container",
91-
credentials={
92-
"sas_token": "?xx=XXXX-XX-XX&xx=xxxx&xxx=xxx&xx=xxxxxxxxxxx&xx=XXXX-XX-XXXXX:XX:XXX&xx=XXXX-XX-XXXXX:XX:XXX&xxx=xxxxx&xxx=XXxXXXxxxxxXXXXXXXxXxxxXXXXXxxXXXXXxXXXXxXXXxXXxXX"
93-
},
91+
credentials=SasTokenCredentials(
92+
sas_token= "?xx=XXXX-XX-XX&xx=xxxx&xxx=xxx&xx=xxxxxxxxxxx&xx=XXXX-XX-XXXXX:XX:XXX&xx=XXXX-XX-XXXXX:XX:XXX&xxx=xxxxx&xxx=XXxXXXxxxxxXXXXXXXxXxxxXXXXXxxXXXXXxXXXXxXXXxXXxXX"
93+
),
9494
)
9595

9696
ml_client.create_or_update(store)

0 commit comments

Comments
 (0)