Azure / Azure/MachineLearningNotebooks

Limit of the length of string in description when the model is registered.

Open
#1,070 0 comments 0 reactions 1 assignee Assigned to @shivp950 View on GitHub
ADO MLOps product-feedback
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Register with a long description:
```python
from azureml.core.model import Model

model = Model.register(model_path="sklearn_regression_model.pkl",
model_name="sklearn_regression_model",
tags={'area': "diabetes", 'type': "regression"},
description="""Limit of the length of string in description when the model is registered
Limit of the length of string in description when the model is registered.
Limit of the length of string in description when the model is registered.""",
workspace=ws)
```

**Return**
```python
ERROR - Received bad response from Model Management Service:
Response Code: 400

...
```

It works if you have a shorter description like
```python
description="""Limit of the length of string in description when the model is registered
Limit of the length of string in description when the model is registered."""
```

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.