Skip to content

Commit 399448e

Browse files
committed
fix: update exposure config handling in ManifestV12Wrapper to use AltimateExposureConfig
1 parent cd5cf85 commit 399448e

File tree

1 file changed

+2
-1
lines changed
  • src/datapilot/core/platforms/dbt/wrappers/manifest/v12

1 file changed

+2
-1
lines changed

src/datapilot/core/platforms/dbt/wrappers/manifest/v12/wrapper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
from datapilot.core.platforms.dbt.constants import SINGULAR
1313
from datapilot.core.platforms.dbt.schemas.manifest import AltimateDBTContract
1414
from datapilot.core.platforms.dbt.schemas.manifest import AltimateDependsOn
15+
from datapilot.core.platforms.dbt.schemas.manifest import AltimateExposureConfig
1516
from datapilot.core.platforms.dbt.schemas.manifest import AltimateExposureType
1617
from datapilot.core.platforms.dbt.schemas.manifest import AltimateExternalTable
1718
from datapilot.core.platforms.dbt.schemas.manifest import AltimateFileHash
@@ -204,7 +205,7 @@ def _get_exposure(self, exposure: ExposureNode) -> AltimateManifestExposureNode:
204205
maturity=AltimateMaturityEnum(exposure.maturity.value) if exposure.maturity else None,
205206
meta=exposure.meta,
206207
tags=exposure.tags,
207-
config=AltimateSourceConfig(**exposure.config.model_dump()) if exposure.config else None,
208+
config=AltimateExposureConfig(**exposure.config.model_dump()) if exposure.config else None,
208209
unrendered_config=exposure.unrendered_config,
209210
url=exposure.url,
210211
depends_on=(

0 commit comments

Comments
 (0)