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 2022/06/02 08:05:26 UTC

[GitHub] [airflow] Lee2532 opened a new issue, #24100: ExternalTaskSensor manually trigger

Lee2532 opened a new issue, #24100:
URL: https://github.com/apache/airflow/issues/24100

   ### Description
   
   when the External Task Sensor is manually executed, not work
   
   ### Use case/motivation
   
   We can add options to perform functions such as scheduling when executing manually.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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

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


[GitHub] [airflow] Lee2532 commented on issue #24100: ExternalTaskSensor manually trigger

Posted by GitBox <gi...@apache.org>.
Lee2532 commented on issue #24100:
URL: https://github.com/apache/airflow/issues/24100#issuecomment-1145469820

   When using an external task sensor, running DAG manually does not work normally.
   Therefore, I would like to add a parameter that allows the corresponding external task sander to pass when triggering the corresponding TASK manually.
   
   for example
   `
   wait_airflow_test = ExternalTaskSensor(
           task_id="wait_airflow_test",
           external_dag_id="airflow_sample",
           external_task_id="start",
           allowed_states=["success"],
           failed_states=None,
           execution_delta=None,
           execution_date_fn=None,
           check_existence=True,
           dag=dag,
           default_args=dag_args,
           mode='reschedule',
           timeout=5,
           wait_task=False
       )
   
   
   `


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


[GitHub] [airflow] potiuk commented on issue #24100: ExternalTaskSensor manually trigger

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #24100:
URL: https://github.com/apache/airflow/issues/24100#issuecomment-1144787080

   Could you please be more precise and explain your use case in more detail? What problem are you really trying to solve? Ideally explaining it on examples that you experienced.


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


[GitHub] [airflow] boring-cyborg[bot] commented on issue #24100: ExternalTaskSensor manually trigger

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #24100:
URL: https://github.com/apache/airflow/issues/24100#issuecomment-1144571579

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


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


[GitHub] [airflow] potiuk commented on issue #24100: ExternalTaskSensor manually trigger

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #24100:
URL: https://github.com/apache/airflow/issues/24100#issuecomment-1147463619

   How about [params](https://airflow.apache.org/docs/apache-airflow/stable/concepts/params.html?highlight=params)  - I still do not understand what you are asking for - but that would be my guess tha it's likely what you want. In either case I am converting that to a discussion until this is clarified. 


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