ashb commented on code in PR #53393:
URL: https://github.com/apache/airflow/pull/53393#discussion_r2277209781
##########
airflow-core/src/airflow/configuration.py:
##########
@@ -202,6 +203,28 @@ def retrieve_configuration_description(
return base_configuration_description
+class WeightRule(str, Enum):
Review Comment:
Ah, and here is the other place it's used
https://github.com/astronomer/airflow/blob/9c7c003465c2261132909a26b7262e44d9a0e1d5/airflow-core/src/airflow/task/priority_strategy.py#L113-L117
Those strings should have been the weight rule enum values. That's why no
uses were showing up properly.
--
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]