Fokko 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_r383895918
 
 

 ##########
 File path: airflow/settings.py
 ##########
 @@ -79,28 +79,26 @@
 json = json
 
 
-def policy(task_instance):
+def policy(task):
 
 Review comment:
   When the user copies the function, they'll also copy the annotation, makes 
the code more robust :)

----------------------------------------------------------------
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

Reply via email to