ashb commented on code in PR #27540:
URL: https://github.com/apache/airflow/pull/27540#discussion_r1018919273
##########
airflow/decorators/base.py:
##########
@@ -210,17 +212,27 @@ def __init__(
super().__init__(task_id=task_id, **kwargs_to_upstream, **kwargs)
def execute(self, context: Context):
+ for arg in chain(self.op_args, self.op_kwargs.values()):
+ if isinstance(arg, Dataset):
+ self.inlets.append(arg)
Review Comment:
That was my thought (specifically why should taskflow be treated specially?)
but I haven't thought that deeply to consider what the implications might be.
--
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]