ashb commented on code in PR #25995:
URL: https://github.com/apache/airflow/pull/25995#discussion_r959437614
##########
airflow/models/baseoperator.py:
##########
@@ -835,7 +835,7 @@ def __init__(
f"'{dag.dag_id if dag else ''}.{task_id}'; received
'{trigger_rule}'."
)
- self.trigger_rule = TriggerRule(trigger_rule)
+ self.trigger_rule: TriggerRule = TriggerRule(trigger_rule)
Review Comment:
Mypy really can't work this out? :o
--
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]