bbovenzi opened a new issue, #23284:
URL: https://github.com/apache/airflow/issues/23284

   ### Apache Airflow version
   
   2.3.0b1 (pre-release)
   
   ### What happened
   
   The rest API endpoint for get 
[/dags/{dag_id}/tasks](https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/get_tasks)
 does not include `is_mapped`.
   
   Example: `consumer` is mapped but I have no way to tell that from the API 
response:
   <img width="306" alt="Screen Shot 2022-04-27 at 11 35 54 AM" 
src="https://user-images.githubusercontent.com/4600967/165556420-f8ade6e6-e904-4be0-a759-5281ddc04cba.png";>
   <img width="672" alt="Screen Shot 2022-04-27 at 11 35 25 AM" 
src="https://user-images.githubusercontent.com/4600967/165556310-742ec23d-f5a8-4cae-bea1-d00fd6c6916f.png";>
   
   
   ### What you think should happen instead
   
   Someone should be able to know if a task from get /tasks is mapped or not.
   
   ### How to reproduce
   
   call get /tasks on a dag with mapped tasks. see there is no way to determine 
if it is mapped from the response body.
   
   
   
   ### Operating System
   
   Mac OSX
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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