shivaam commented on PR #71144: URL: https://github.com/apache/airflow/pull/71144#issuecomment-5249416146
Just curious about the longer-term direction. Do we expect tasks to become callable, similar to Python TaskFlow? ``` const result = load(transform(extract())); ``` These calls would build the Dag and return typed task outputs rather than execute the handlers. Is something like this planned for future native TypeScript Dags, or is the current TaskRef plus inputs design intended to be the final authoring interface? 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<TOutput>. -- 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]
