Azure / Azure/MachineLearningNotebooks

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

Đang mở
#1,070 0 bình luận 0 reaction 1 người được giao Được giao cho @shivp950 Xem trên GitHub
ADO MLOps product-feedback
Ngôn ngữ chính
Jupyter Notebook
Star
4.4k
Fork
2.6k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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."""
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.