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/03 00:28:05 UTC
[GitHub] [airflow] Lee2532 commented on issue #24100: ExternalTaskSensor manually trigger
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