Skip to content

Commit

Permalink
data type changed back
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatajagannath committed Jun 11, 2024
1 parent b1fb649 commit 3b0dbba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anyscale_provider/operators/anyscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def defer_job_polling(self, job_id: str) -> None:
def get_current_status(self, job_id: str) -> str:
return str(self.hook.get_job_status(job_id=job_id).state)

def execute_complete(self, context: Context, event: TriggerEvent) -> None:
def execute_complete(self, context: Context, event: Any) -> None:
current_job_id = event["job_id"]

if event["status"] == JobState.FAILED:
Expand Down Expand Up @@ -282,7 +282,7 @@ def execute(self, context: Context) -> Optional[str]:
self.log.info(f"Service rollout id: {service_id}")
return service_id

def execute_complete(self, context: Context, event: TriggerEvent) -> None:
def execute_complete(self, context: Context, event: Any) -> None:
self.log.info(f"Execution completed...")
service_id = event["service_name"]

Expand Down

0 comments on commit 3b0dbba

Please sign in to comment.