uranusjr commented on pull request #15285:
URL: https://github.com/apache/airflow/pull/15285#issuecomment-815994439


   > Switching TaskState and DagState to _actually_ be an enum, and have to go 
rewrite a large chunk of core code and potentially break compatability with 
many providers since it'll change the values of all the states to be of type 
`EnumValue`.
   
   Would it help to initially make them a 
[`StrEnum`](https://docs.python.org/3/library/enum.html#others), and slowly 
convert the type hints to take an enum value instead of str?


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to