Skip to content

Commit 73daf90

Browse files
committed
code updates
1 parent 5805a07 commit 73daf90

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/machine-learning/how-to-access-data.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ account_name=os.getenv("FILE_SHARE_ACCOUNTNAME", "<my-account-name>") # Storage
124124
account_key=os.getenv("FILE_SHARE_ACCOUNT_KEY", "<my-account-key>") # Storage account key
125125

126126
file_datastore = Datastore.register_azure_file_share(workspace=ws,
127-
datastore_name=file_datastore_name,
128-
file_share_name=file_share_name,
129-
account_name=account_name,
130-
account_key=account_key)
127+
datastore_name=file_datastore_name,
128+
file_share_name=file_share_name,
129+
account_name=account_name,
130+
account_key=account_key)
131131
```
132132

133133
#### Azure Data Lake Storage Generation 2
@@ -147,13 +147,13 @@ tenant_id=os.getenv("ADLSGEN2_TENANT", "<my_tenant_id>") # tenant id of service
147147
client_id=os.getenv("ADLSGEN2_CLIENTID", "<my_client_id>") # client id of service principal
148148
client_secret=os.getenv("ADLSGEN2_CLIENT_SECRET", "<my_client_secret>") # the secret of service principal
149149

150-
adlsgen2_datastore = Datastore.register_azure_data_lake_gen2( workspace=ws,
151-
datastore_name=adlsgen2_datastore_name,
152-
account_name=account_name, # ADLS Gen2 account name
153-
filesystem='test', # ADLS Gen2 filesystem
154-
tenant_id=tenant_id, # tenant id of service principal
155-
client_id=client_id, # client id of service principal
156-
client_secret=client_secret) # the secret of service principal
150+
adlsgen2_datastore = Datastore.register_azure_data_lake_gen2(workspace=ws,
151+
datastore_name=adlsgen2_datastore_name,
152+
account_name=account_name, # ADLS Gen2 account name
153+
filesystem='test', # ADLS Gen2 filesystem
154+
tenant_id=tenant_id, # tenant id of service principal
155+
client_id=client_id, # client id of service principal
156+
client_secret=client_secret) # the secret of service principal
157157
```
158158

159159
### Azure Machine Learning studio

0 commit comments

Comments
 (0)