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 2021/11/30 20:39:09 UTC

[GitHub] [airflow] eladkal opened a new issue #19905: Refactor `TriggerRule` & `WeightRule` classes to inherit from Enum

eladkal opened a new issue #19905:
URL: https://github.com/apache/airflow/issues/19905


   ### Body
   
   Both `TriggerRule` & `WeightRule` classes  should inherit from Enum
   https://github.com/apache/airflow/blob/3172be041e3de95f546123e3b66f06c6adcf32d5/airflow/utils/weight_rule.py#L22
   https://github.com/apache/airflow/blob/8fde9a4b5b1360f733d86a04c2b0b747f0bfbf01/airflow/utils/trigger_rule.py#L22
   
   An initial attempt to handle this was in https://github.com/apache/airflow/pull/5302
   
   This is something that was also raised during review in https://github.com/apache/airflow/pull/18627#discussion_r719304267
   
   
   ### Committer
   
   - [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project.


-- 
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 closed issue #19905: Refactor `TriggerRule` & `WeightRule` classes to inherit from Enum

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #19905:
URL: https://github.com/apache/airflow/issues/19905


   


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