ashb commented on issue #76370:
URL: https://github.com/apache/airflow/issues/76370#issuecomment-6629097474

   One thing I would like us to spend more time on is making the case of "just 
run a single dag locally" for testing much, much better. We are looking at this 
now on the python side, and our UX/python API options are a bit more limited 
there, so I'd like us to not repeat the same mistake.
   
   the tl;dr of what I'd like to see is how close can we get to "just write TS 
function, and run it":
   
   ```typescript
   function task1() {
     return 3.14519
   }
   function task2(pi, r) {
     return pi * r * r;
   }
   
   export function dag() {
     return task2(task1(), 3); 
   }
   
   if (import.meta.main) {
     let result = dag();
     console.log(`Dag result was {result}`);
   }
   ```
   
   This is obviously a long way from a workable solution (and how we get a 
runnable Exec API server etc), but this is sort of what I'd like the TS end 
user experience to be like.


-- 
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]

Reply via email to