@@ -676,7 +676,7 @@ def latest_monitoring_statistics(self, file_name=STATISTICS_JSON_DEFAULT_FILE_NA
676676 if len (executions ) == 0 :
677677 logger .warning (
678678 "No executions found for schedule. monitoring_schedule_name: %s" ,
679- self .monitoring_schedule_name
679+ self .monitoring_schedule_name ,
680680 )
681681 return None
682682
@@ -703,7 +703,7 @@ def latest_monitoring_constraint_violations(
703703 if len (executions ) == 0 :
704704 logger .warning (
705705 "No executions found for schedule. monitoring_schedule_name: %s" ,
706- self .monitoring_schedule_name
706+ self .monitoring_schedule_name ,
707707 )
708708 return None
709709
@@ -748,7 +748,7 @@ def list_executions(self):
748748 if len (monitoring_executions_dict ["MonitoringExecutionSummaries" ]) == 0 :
749749 logger .warning (
750750 "No executions found for schedule. monitoring_schedule_name: %s" ,
751- self .monitoring_schedule_name
751+ self .monitoring_schedule_name ,
752752 )
753753 return []
754754
@@ -2435,7 +2435,7 @@ def latest_monitoring_statistics(self):
24352435 if len (executions ) == 0 :
24362436 logger .warning (
24372437 "No executions found for schedule. monitoring_schedule_name: %s" ,
2438- self .monitoring_schedule_name
2438+ self .monitoring_schedule_name ,
24392439 )
24402440 return None
24412441
@@ -2447,7 +2447,8 @@ def latest_monitoring_statistics(self):
24472447 status = latest_monitoring_execution .describe ()["ProcessingJobStatus" ]
24482448 logger .warning (
24492449 "Unable to retrieve statistics as job is in status '%s'. Latest statistics only "
2450- "available for completed executions." , status
2450+ "available for completed executions." ,
2451+ status ,
24512452 )
24522453
24532454 def latest_monitoring_constraint_violations (self ):
@@ -2464,7 +2465,7 @@ def latest_monitoring_constraint_violations(self):
24642465 if len (executions ) == 0 :
24652466 logger .warning (
24662467 "No executions found for schedule. monitoring_schedule_name: %s" ,
2467- self .monitoring_schedule_name
2468+ self .monitoring_schedule_name ,
24682469 )
24692470 return None
24702471
@@ -2475,7 +2476,8 @@ def latest_monitoring_constraint_violations(self):
24752476 status = latest_monitoring_execution .describe ()["ProcessingJobStatus" ]
24762477 logger .warning (
24772478 "Unable to retrieve constraint violations as job is in status '%s'. Latest "
2478- "violations only available for completed executions." , status
2479+ "violations only available for completed executions." ,
2480+ status ,
24792481 )
24802482
24812483 @staticmethod
0 commit comments