msoni1369 commented on PR #37866:
URL: https://github.com/apache/airflow/pull/37866#issuecomment-2016517181
> > We can always add more details to the tasks as you mentioned
>
> The problem with big projects like Airflow is maintaining backward
compatibility; returning more data in the future instead of a simple key could
be an issue for some users, and removing this simple key will be considered a
breaking change. In this case, we will need to add more useless parameters to
the query to determine whether to add the extra information.
>
@hussein-awala, I completely agree with your suggestion. What I meant by the
statement "We can always add more details to the tasks as you mentioned" is
that, in addition to task keys, we can include more information such as setup
and teardown etc.. in the response using just one parameter, rather than using
multiple parameters for extra information.
> I suggest adding a response identical to the get /dags/{dag_id}/tasks
endpoint response
Adding a response identical to the above endpoint is a nice idea. I will
implement the same. Thanks.
--
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]