ashb commented on code in PR #27113:
URL: https://github.com/apache/airflow/pull/27113#discussion_r1016360230
##########
airflow/jobs/base_job.py:
##########
@@ -110,6 +111,7 @@ def __init__(self, executor=None, heartrate=None, *args,
**kwargs):
self.heartrate = heartrate
self.unixname = getuser()
self.max_tis_per_query: int = conf.getint('scheduler',
'max_tis_per_query')
+ get_listener_manager().hook.on_starting()
Review Comment:
> can't implement the same hookspec in one file - especially with same-name
methods
Plugins can be classes, not just modules.
--
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]