Lee-W commented on code in PR #58190:
URL: https://github.com/apache/airflow/pull/58190#discussion_r2520560007


##########
airflow-core/src/airflow/jobs/job.py:
##########
@@ -164,7 +164,7 @@ def executors(self):
 
     @cached_property
     def heartrate(self) -> float:
-        return Job._heartrate(self.job_type)
+        return Job._heartrate(str(self.job_type))

Review Comment:
   But technically `self.job_type` could be None. Should we do something if 
it's None?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to