File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/machine-learning Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ ml_client.models.create_or_update(
200
200
# [Python](#tab/sdk)
201
201
202
202
```python
203
- ml_client.begin_create_or_update(endpoint).result()
203
+ ml_client.begin_create_or_update(endpoint)
204
204
```
205
205
206
206
# [Studio](#tab/studio)
@@ -245,14 +245,14 @@ ml_client.models.create_or_update(
245
245
# [Python](#tab/sdk)
246
246
247
247
```python
248
- ml_client.online_deployments.begin_create_or_update(blue_deployment).result()
248
+ ml_client.online_deployments.begin_create_or_update(blue_deployment)
249
249
```
250
250
251
251
Once created, we need to set the traffic to this deployment.
252
252
253
253
```python
254
254
endpoint.traffic = {blue_deployment.name: 100 }
255
- ml_client.begin_create_or_update(endpoint).result()
255
+ ml_client.begin_create_or_update(endpoint)
256
256
```
257
257
258
258
# [Studio](#tab/studio)
You can’t perform that action at this time.
0 commit comments