You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "VeereshPatil (via GitHub)" <gi...@apache.org> on 2023/02/10 06:31:32 UTC

[GitHub] [airflow-client-python] VeereshPatil commented on issue #21: trigger dag api is broken

VeereshPatil commented on issue #21:
URL: https://github.com/apache/airflow-client-python/issues/21#issuecomment-1425257059

   you can not pass **dag_id** and **external_trigger**  as part of DagRun ( dag_id is passed in post_dag_run() function)
   The following worked for me,
   
   ```
   dag_run = DAGRun(
               dag_run_id='some_test_run',
               conf={"key":"values"}
               )
   api_response = dag_run_api_instance.post_dag_run(dag_id, dag_run)
   ```


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