Skip to content

Commit a16a09b

Browse files
committed
updating date, adding import
1 parent 37323d9 commit a16a09b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/machine-learning/how-to-setup-authentication.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ title: Set up authentication
33
titleSuffix: Azure Machine Learning
44
description: Learn how to set up and configure authentication for various resources and workflows in Azure Machine Learning.
55
services: machine-learning
6-
author: rastala
7-
ms.author: roastala
6+
author: meyetman
7+
ms.author: meyetman
88
ms.reviewer: larryfr
99
ms.service: machine-learning
1010
ms.subservice: enterprise-readiness
11-
ms.date: 09/23/2022
11+
ms.date: 01/05/2024
1212
ms.topic: how-to
1313
ms.custom: has-adal-ref, contperf-fy21q2, subject-rbac-steps, cliv2, sdkv2, event-tier1-build-2022, ignite-2022
1414
---
@@ -75,6 +75,7 @@ except Exception as ex:
7575
After the credential object has been created, the [MLClient](/python/api/azure-ai-ml/azure.ai.ml.mlclient) class is used to connect to the workspace. For example, the following code uses the `from_config()` method to load connection information:
7676

7777
```python
78+
from azure.ai.ml import MLClient
7879
try:
7980
ml_client = MLClient.from_config(credential=credential)
8081
except Exception as ex:

0 commit comments

Comments
 (0)