utkarsharma2 commented on code in PR #35257:
URL: https://github.com/apache/airflow/pull/35257#discussion_r1375942435


##########
airflow/models/mappedoperator.py:
##########
@@ -470,7 +470,7 @@ def priority_weight(self) -> int:  # type: ignore[override]
         return self.partial_kwargs.get("priority_weight", 
DEFAULT_PRIORITY_WEIGHT)
 
     @property
-    def weight_rule(self) -> int:  # type: ignore[override]
+    def weight_rule(self) -> str:  # type: ignore[override]

Review Comment:
   We may not need it. Now, that we changed the return type from `int` to 
`str`, `MappedOperator.weight_rule` no longer deviates from it's parent 
`AbstractOperator.weight_rule` of type string. 



-- 
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-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to