Skip to content

Commit

Permalink
nit: remove taskgroup's tooltip from OL's AirflowJobFacet (#43152)
Browse files Browse the repository at this point in the history
Signed-off-by: Kacper Muda <mudakacper@gmail.com>
  • Loading branch information
kacpermuda authored Oct 22, 2024
1 parent fcfc6f9 commit e7d83dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion providers/src/airflow/providers/openlineage/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ def _get_task_groups_details(dag: DAG) -> dict:
return {
tg_id: {
"parent_group": tg.parent_group.group_id,
"tooltip": tg.tooltip,
"ui_color": tg.ui_color,
"ui_fgcolor": tg.ui_fgcolor,
"ui_label": tg.label,
Expand Down
7 changes: 0 additions & 7 deletions providers/tests/openlineage/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def test_get_airflow_job_facet():
taskGroups={
"section_1": {
"parent_group": None,
"tooltip": "",
"ui_color": "CornflowerBlue",
"ui_fgcolor": "#000",
"ui_label": "section_1",
Expand Down Expand Up @@ -516,21 +515,18 @@ def test_get_task_groups_details():
expected = {
"tg1": {
"parent_group": None,
"tooltip": "",
"ui_color": "CornflowerBlue",
"ui_fgcolor": "#000",
"ui_label": "tg1",
},
"tg2": {
"parent_group": None,
"tooltip": "",
"ui_color": "CornflowerBlue",
"ui_fgcolor": "#000",
"ui_label": "tg2",
},
"tg3": {
"parent_group": None,
"tooltip": "",
"ui_color": "CornflowerBlue",
"ui_fgcolor": "#000",
"ui_label": "tg3",
Expand All @@ -551,21 +547,18 @@ def test_get_task_groups_details_nested():
expected = {
"tg1": {
"parent_group": None,
"tooltip": "",
"ui_color": "CornflowerBlue",
"ui_fgcolor": "#000",
"ui_label": "tg1",
},
"tg1.tg2": {
"parent_group": "tg1",
"tooltip": "",
"ui_color": "CornflowerBlue",
"ui_fgcolor": "#000",
"ui_label": "tg2",
},
"tg1.tg2.tg3": {
"parent_group": "tg1.tg2",
"tooltip": "",
"ui_color": "CornflowerBlue",
"ui_fgcolor": "#000",
"ui_label": "tg3",
Expand Down

0 comments on commit e7d83dd

Please sign in to comment.