uranusjr commented on a change in pull request #20931:
URL: https://github.com/apache/airflow/pull/20931#discussion_r788393469
##########
File path: airflow/models/xcom_arg.py
##########
@@ -59,9 +61,9 @@ class XComArg(DependencyMixin):
:type key: str
"""
- def __init__(self, operator: Union[BaseOperator, MappedOperator], key: str
= XCOM_RETURN_KEY):
- self._operator = operator
- self._key = key
+ def __init__(self, operator: "Union[BaseOperator, MappedOperator]", key:
str = XCOM_RETURN_KEY):
Review comment:
After #20945 we can probably change this to `Operator`, which would not
cause import cycles.
--
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]