RNHTTR opened a new pull request, #23339:
URL: https://github.com/apache/airflow/pull/23339

   For mapped operators, `airflow show dags <dag_id>` is broken (see #23315 )
   
   Task expansion creates a MappedOperator, which ultimately inherits from 
AbstractOperator and not BaseOperator.
   
   `airflow dags show` ultimately calls 
[dot_renderer.py](https://github.com/apache/airflow/blob/main/airflow/utils/dot_renderer.py#L117-L118)
 to draw the DAG, and it checks that each node is either a `TaskGroup` or a 
`BaseOperator`, thus the error. Adding a check to see if the node is an 
`AbstractOperator` fixes this.
   
   closes: #23315 
   


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