bkossakowska commented on code in PR #29260:
URL: https://github.com/apache/airflow/pull/29260#discussion_r1260844277
##########
airflow/triggers/external_task.py:
##########
@@ -38,25 +39,33 @@ class TaskStateTrigger(BaseTrigger):
:param task_id: The task_id that contains the task you want to
wait for. If ``None`` (default value) the sensor waits for the DAG
:param states: allowed states, default is ``['success']``
Review Comment:
Currently, for the `states` parameter, as it is in the description, we have
set it to `["success"]` by default.
list(allowed_states) if allowed_states else
[TaskInstanceState.SUCCESS.value].
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]