Fokko edited a comment on issue #5990: [AIRFLOW-5390] Remove provide context
URL: https://github.com/apache/airflow/pull/5990#issuecomment-527893821
 
 
   Everything is green now
   
   Changed the behavior. This following snippet will throw an exception now, 
since `dag` is a reserved keyword:
   ```
   def fn(dag, **context):
       print(dag)
   
   PythonOperator(
       op_args=[1],
       python_callable=fn
   )
   ```
   Otherwise it might become very confusing when you change the `op_args` etc.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to