Skip to content

Commit

Permalink
Fix notification_service.py (#27903)
Browse files Browse the repository at this point in the history
* fix

* fix

---------

Co-authored-by: ydshieh <[email protected]>
  • Loading branch information
ydshieh and ydshieh authored Dec 8, 2023
1 parent 3b720ad commit 79e7655
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/notification_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,9 @@ def get_reply_blocks(self, job_name, job_result, failures, device, text):
]

def get_new_model_failure_blocks(self, with_header=True):
if self.prev_ci_artifacts is None:
return {}

sorted_dict = sorted(self.model_results.items(), key=lambda t: t[0])

prev_model_results = {}
Expand Down

0 comments on commit 79e7655

Please sign in to comment.