jason810496 commented on PR #71144: URL: https://github.com/apache/airflow/pull/71144#issuecomment-5249545926
> Just curious about the longer-term direction. Do we expect tasks to become callable, similar to Python TaskFlow? Yes, we will support the TaskFlow-style syntax to define the task dependencies as mentioned in https://github.com/apache/airflow/issues/69288#issuecomment-5093501655. > One option would be for dag.task() to return a callable TaskDefinition<TInputs, TOutput>. Calling that definition would record the input bindings and return a TaskOutput. This is what the `TaskRef` does today, though I haven't refine it into the "accurate" type like you mentioned, the `TaskRef` is more like a placeholder type right now. -- 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]
