Skip to content

Commit

Permalink
[Release] Fix Anyscale API call (ray-project#33644)
Browse files Browse the repository at this point in the history
Fixes API call broken due to anyscale==0.5.92.

Signed-off-by: Antoni Baum <[email protected]>
  • Loading branch information
Yard1 authored Mar 23, 2023
1 parent 231a1d8 commit 24a89a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release/ray_release/job_manager/anyscale_job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

from anyscale.sdk.anyscale_client.models import (
CreateProductionJob,
CreateProductionJobConfig,
HaJobStates,
)
from anyscale.controllers.job_controller import JobController, terminal_state
Expand Down Expand Up @@ -71,7 +72,7 @@ def _run_job(
name=self.cluster_manager.cluster_name,
description=f"Smoke test: {self.cluster_manager.smoke_test}",
project_id=self.cluster_manager.project_id,
config=dict(
config=CreateProductionJobConfig(
entrypoint=full_cmd,
runtime_env=runtime_env,
build_id=self.cluster_manager.cluster_env_build_id,
Expand Down

0 comments on commit 24a89a6

Please sign in to comment.