You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "igi79 (via GitHub)" <gi...@apache.org> on 2025/05/15 20:44:24 UTC

[D] Airflow 3.0.1: Custom operator ui_color, ui_fgcolor [airflow]

GitHub user igi79 created a discussion: Airflow 3.0.1: Custom operator ui_color, ui_fgcolor

I have just migrated the project from airflow 2.10.5 to airflow:3.0.1-python3.9 , where I use custom operators with ui_color, ui_fgcolor set. Unfortunately the new airflow ignores these attributes when rendering the graph:
Graph in 2.10.5:
![image](https://github.com/user-attachments/assets/a9f94c2c-ae02-49d8-8f13-32d4852d869a)
and the same graph in 3.0.1:
![image](https://github.com/user-attachments/assets/5430c5a0-5565-4705-a477-0f45a27779fd)

Even the demonstration operator from https://airflow.apache.org/docs/apache-airflow/stable/howto/custom-operator.html is only black and white.
Is it a bug or a new feature?

GitHub link: https://github.com/apache/airflow/discussions/50673

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org


Re: [D] Airflow 3.0.1: Custom operator ui_color, ui_fgcolor [airflow]

Posted by "igi79 (via GitHub)" <gi...@apache.org>.
GitHub user igi79 edited a discussion: Airflow 3.0.1: Custom operator ui_color, ui_fgcolor

I have just migrated the project from airflow 2.10.5 to airflow:3.0.1-python3.9 , where I use custom operators with ui_color, ui_fgcolor set. Unfortunately the new airflow ignores these attributes when rendering the graph:
Graph in 2.10.5:
![image](https://github.com/user-attachments/assets/a9f94c2c-ae02-49d8-8f13-32d4852d869a)
and the same graph in 3.0.1:
![image](https://github.com/user-attachments/assets/5430c5a0-5565-4705-a477-0f45a27779fd)

Even the demonstration operator from https://airflow.apache.org/docs/apache-airflow/stable/howto/custom-operator.html#user-interface is only black and white.
Is it a bug or a new feature?

GitHub link: https://github.com/apache/airflow/discussions/50673

----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org