Fix notification_service.py (#27903)

* fix

* fix

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2023-12-08 14:55:02 +01:00
committed by GitHub
parent 3b720ad9a5
commit 79e7655906

View File

@@ -634,6 +634,9 @@ class Message:
]
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 = {}