yuqian90 commented on a change in pull request #10930:
URL: https://github.com/apache/airflow/pull/10930#discussion_r489093794
##########
File path: airflow/models/baseoperator.py
##########
@@ -1146,27 +1115,22 @@ def add_only_new(self, item_set: Set[str], item: str)
-> None:
else:
item_set.add(item)
+ @property
+ def operator(self) -> "BaseOperator":
Review comment:
One request. Is it possible to make this property a `List[BaseOperator]`
instead? If we want `TaskGroup` to implement `TaskMixin`, it'll be difficult to
decide what `operator` should be if it's a singular operator.
----------------------------------------------------------------
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]