Azure / Azure/MachineLearningNotebooks

Run.set_tags won't accept string, irrespective of documentation

Open
#1,474 0 comments 1 reaction 0 assignees View on GitHub
ADO bug Training
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

In at least versions 1.22.0 and 1.28.0, the [documentation for tagging runs](https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.run(class)?view=azure-ml-py#set-tags-tags-) states that one can pass a string, like `run.set_tags("foo")`. However, since `RunHistoryFacade.set_tags`calls `WorkspaceClient._sanitize_tags`, this will fail, as the latter calls the method `items` on its argument.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.