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/30 12:03:00 UTC

[GitHub] [airflow] gbonazzoli commented on issue #20579: Airflow 2.2.3 : "airflow dags trigger" command gets "Calling `DAG.create_dagrun()` without an explicit data interval is deprecated"

gbonazzoli commented on issue #20579:
URL: https://github.com/apache/airflow/issues/20579#issuecomment-1002999496


   I've tried. But the deprecation warning is still there.
   
   ```
   root@new-airflow:~# airflow dags trigger 'VMWARE_BACKUP' -e 2021-12-31T13:00:00+00:00 --conf '{"VM_NAME":"psfiplb1"}'
   [2021-12-30 13:01:48,002] {__init__.py:38} INFO - Loaded API auth backend: <module 'airflow.api.auth.backend.basic_auth' from '/usr/local/lib/python3.8/dist-packages/airflow/api/auth/backend/basic_auth.py'>
   /usr/local/lib/python3.8/dist-packages/airflow/api/common/experimental/trigger_dag.py:85 DeprecationWarning: Calling `DAG.create_dagrun()` without an explicit data interval is deprecated
   Created <DagRun VMWARE_BACKUP @ 2021-12-31T13:00:00+00:00: manual__2021-12-31T13:00:00+00:00, externally triggered: True>
   
   ```


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