data-pipelines-with-apache-airflow icon indicating copy to clipboard operation
data-pipelines-with-apache-airflow copied to clipboard

airflow 2.2.2 `context["execution_date"]` deprecated

Open andreaschandra opened this issue 3 years ago • 0 comments

https://github.com/BasPH/data-pipelines-with-apache-airflow/blob/40b52ba6fcda3203b194be9e1c2850135997215a/chapter04/dags/listing_4_8.py#L13-L14

airflow==2.2.2 shows

DeprecationWarning: Accessing 'execution_date' from the template is deprecated and will be removed in a future version. Please use 'logical_date' or 'data_interval_start' instead. 

and

DeprecationWarning: Accessing 'next_execution_date' from the template is deprecated and will be removed in a future version. Please use 'data_interval_end' instead.

andreaschandra avatar Dec 30 '21 06:12 andreaschandra