kaxil commented on a change in pull request #7532: [AIRFLOW-XXXX] Fix outdated doc on settings.policy URL: https://github.com/apache/airflow/pull/7532#discussion_r383887968
########## File path: airflow/settings.py ########## @@ -79,28 +79,26 @@ json = json -def policy(task_instance): +def policy(task): Review comment: Can add but this function needs to be overriden by users in their `airflow_local_settings.py` - so adding type annotation here won't have any impact I feel. WDYT? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services