You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/02/25 13:48:12 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #7532: [AIRFLOW-XXXX] Fix outdated doc on settings.policy

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:
users@infra.apache.org


With regards,
Apache Git Services