Fokko commented on a change in pull request #5990: [AIRFLOW-5390] Remove 
provide context
URL: https://github.com/apache/airflow/pull/5990#discussion_r322678260
 
 

 ##########
 File path: UPDATING.md
 ##########
 @@ -37,9 +37,15 @@ assists users migrating to a new version.
 - [Airflow 1.7.1.2](#airflow-1712)
 
 <!-- END doctoc generated TOC please keep comment here to allow auto update -->
+
 ## Airflow Master
 
+### Remove provide_context
+
+Instead of settings `provide_context` we're automagically inferring the 
signature of the callable that is being passed to the PythonOperator. The only 
behavioural change in is that using a key that is already in the context in the 
function, such as `dag` or `ds` is not allowed anymore and will thrown an 
exception. If the `provide_context` is still explicitly passed to the function, 
it will just end up in the `kwargs`, which can cause no harm.
 
 Review comment:
   Love it Bas, you could be a writer!

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