uranusjr commented on code in PR #58190:
URL: https://github.com/apache/airflow/pull/58190#discussion_r2522432456
##########
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:
Maybe job_type just shouldn’t be None, I couldn’t think of a case where
that’d be useful.
--
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]