Skip to content

Commit 80519a7

Browse files
joshharrinJosh Harrington
andauthored
[ml] Improve workspace print (Azure#30627)
* update print for workspace, fix docstring * update changelog * update comment * dedupe docstring --------- Co-authored-by: Josh Harrington <joharrington@microsoft.com>
1 parent 50359e3 commit 80519a7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

sdk/ml/azure-ai-ml/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## 1.9.0 (Unreleased)
44

5+
### Other Changes
6+
7+
- Improved the output when printing a workspace object to be more clean and readable.
8+
59
## 1.8.0 (Unreleased)
610

711
### Features Added

sdk/ml/azure-ai-ml/azure/ai/ml/entities/_workspace/workspace.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def __init__(
9999
:param kwargs: A dictionary of additional configuration parameters.
100100
:type kwargs: dict
101101
"""
102+
self.print_as_yaml = True
102103
self._discovery_url = kwargs.pop("discovery_url", None)
103104
self._mlflow_tracking_uri = kwargs.pop("mlflow_tracking_uri", None)
104105
self._kind = kwargs.pop("kind", "default")

0 commit comments

Comments
 (0)