Skip to content

Commit 8eafe35

Browse files
committed
online
1 parent 9cbf8bc commit 8eafe35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/machine-learning/how-to-deploy-mlflow-models-online-endpoints.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ ml_client.models.create_or_update(
200200
# [Python](#tab/sdk)
201201

202202
```python
203-
ml_client.begin_create_or_update(endpoint).result()
203+
ml_client.begin_create_or_update(endpoint)
204204
```
205205

206206
# [Studio](#tab/studio)
@@ -245,14 +245,14 @@ ml_client.models.create_or_update(
245245
# [Python](#tab/sdk)
246246

247247
```python
248-
ml_client.online_deployments.begin_create_or_update(blue_deployment).result()
248+
ml_client.online_deployments.begin_create_or_update(blue_deployment)
249249
```
250250

251251
Once created, we need to set the traffic to this deployment.
252252

253253
```python
254254
endpoint.traffic = {blue_deployment.name: 100}
255-
ml_client.begin_create_or_update(endpoint).result()
255+
ml_client.begin_create_or_update(endpoint)
256256
```
257257

258258
# [Studio](#tab/studio)

0 commit comments

Comments
 (0)