Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/gooddata-dbt/src/gooddata_dbt/dbt/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
6 changes: 6 additions & 0 deletions packages/gooddata-dbt/tests/test_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"


Expand Down
Loading