RNHTTR commented on issue #23315:
URL: https://github.com/apache/airflow/issues/23315#issuecomment-1112594218

   I've found the issue. Task expansion creates a `MappedOperator`, which 
interestingly inherits from `AbstractOperator` and not `BaseOperator`.
   
   `airflow dags show` ultimately users 
`[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. I'll put together a fix, a test, and submit a 
PR.


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