diff --git a/packages/gooddata-dbt/src/gooddata_dbt/dbt/base.py b/packages/gooddata-dbt/src/gooddata_dbt/dbt/base.py index c89f0f127..930ab770a 100644 --- a/packages/gooddata-dbt/src/gooddata_dbt/dbt/base.py +++ b/packages/gooddata-dbt/src/gooddata_dbt/dbt/base.py @@ -22,6 +22,7 @@ class GoodDataLabelType(Enum): GEO_LATITUDE = "GEO_LATITUDE" GEO_LONGITUDE = "GEO_LONGITUDE" GEO_AREA = "GEO_AREA" + GEO_ICON = "GEO_ICON" class GoodDataSortDirection(Enum): diff --git a/packages/gooddata-dbt/tests/test_tables.py b/packages/gooddata-dbt/tests/test_tables.py index c0c9bb9b5..ac682852f 100644 --- a/packages/gooddata-dbt/tests/test_tables.py +++ b/packages/gooddata-dbt/tests/test_tables.py @@ -3,6 +3,7 @@ from pathlib import Path from typing import Union +from gooddata_dbt.dbt.base import GoodDataLabelType from gooddata_dbt.dbt.tables import DbtModelTables from gooddata_sdk import CatalogDeclarativeModel, CatalogDeclarativeTables @@ -51,6 +52,11 @@ def test_make_ldm(): assert len(ldm.ldm.date_instances) == 4 +def test_geo_icon_label_type(): + """Test that GEO_ICON is a valid GoodDataLabelType enum value.""" + assert GoodDataLabelType.GEO_ICON.value == "GEO_ICON" + + FAA_MODEL_ID = "faa"