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 2021/12/13 16:49:37 UTC

[GitHub] [airflow] jedcunningham commented on pull request #20217: Lazy Jinja2 context

jedcunningham commented on pull request #20217:
URL: https://github.com/apache/airflow/pull/20217#issuecomment-992670230


   Hmm, I'm not seeing a deprecation warning with this:
   
   ```python
   from datetime import datetime
   
   from airflow import DAG
   from airflow.operators.bash import BashOperator
   
   with DAG(
       dag_id="no-context", schedule_interval=None, start_date=datetime(2021, 12, 10)
   ) as dag:
       BashOperator(task_id="sleep", bash_command="echo 'Hello! {{ execution_date }}'")
   ```


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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org