uranusjr edited a comment on issue #18492: URL: https://github.com/apache/airflow/issues/18492#issuecomment-934392360
We can "fake" identity by serialising MRO information and implement `__instancecheck__` and `__subclasscheck__` on `BaseOperator`. But honestly my suggestion would be to avoid class introspection entirely. Instead of checking for the operator type, we should add an attribute (`zoomable` or something) and set it to True on `SubDagOperator`. -- 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]
