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


##########
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:
   why do we need `type: ignore` here?



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