From a1b6da1d481887c5826124a8233580625c0e135d Mon Sep 17 00:00:00 2001 From: Auto Implementer Date: Mon, 16 Mar 2026 09:54:44 +0000 Subject: [PATCH] feat(gooddata-sdk): [AUTO] Add GEO_ICON to GoodDataLabelType enum Add GEO_ICON as a new value to the GoodDataLabelType enum in gooddata-dbt, mirroring the GEO_ICON addition to LabelType in gdc-nas CommonModel.kt. --- packages/gooddata-dbt/src/gooddata_dbt/dbt/base.py | 1 + packages/gooddata-dbt/tests/test_tables.py | 6 ++++++ 2 files changed, 7 insertions(+) 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"