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 2019/01/15 13:28:42 UTC

[GitHub] XD-DENG opened a new pull request #4536: [AIRFLOW-3709] Validate `allowed_states` for ExternalTaskSensor

XD-DENG opened a new pull request #4536: [AIRFLOW-3709] Validate `allowed_states` for ExternalTaskSensor
URL: https://github.com/apache/airflow/pull/4536
 
 
   ### Jira
   
     - https://issues.apache.org/jira/browse/AIRFLOW-3709
   
   
   ### Description
   
   In `ExternalTaskSensor`, we can specify `allowed_states`. This commit adds validation for it, so that users will not specify any invalid state (by accident).
   
   This change works no matter the sensor waits for a DAG (available since https://github.com/apache/airflow/commit/2a8c91b392fca53fdc6f7c5008577a7ed4007de7) or a specific task.
   
   ### Tests
   
   - [x] My PR adds the following unit tests __OR__ does not need testing for this extremely good reason:
   
   Tests are added.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services