potiuk commented on code in PR #30255:
URL: https://github.com/apache/airflow/pull/30255#discussion_r1147260099
##########
airflow/jobs/local_task_job.py:
##########
@@ -204,6 +204,10 @@ def sigusr2_debug_handler(signum, frame):
finally:
self.on_kill()
+ @staticmethod
+ def get_job_type() -> str:
+ return "LocalTaskJob"
Review Comment:
yes - we can do it this way. It was just doing some step-by-step changes
where I got into this place (ans also @uranusjr had the same comment) but yes,
I will turn it into class variable, so it might simplify other things as well.
--
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]