Skip to content
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
from datapilot.core.platforms.dbt.schemas.manifest import AltimateSeedConfig
from datapilot.core.platforms.dbt.schemas.manifest import AltimateSeedNode
from datapilot.core.platforms.dbt.schemas.manifest import AltimateSourceConfig
from datapilot.core.platforms.dbt.schemas.manifest import AltimateSupportedLanguage
from datapilot.core.platforms.dbt.schemas.manifest import AltimateTestConfig
from datapilot.core.platforms.dbt.schemas.manifest import AltimateTestMetadata
from datapilot.core.platforms.dbt.wrappers.manifest.v12.schemas import TEST_TYPE_TO_NODE_MAP
Expand Down Expand Up @@ -87,7 +88,7 @@ def _get_node(self, node: ManifestNode) -> AltimateManifestNode:
alias=node.alias,
raw_code=raw_code,
language=language,
config=AltimateNodeConfig(**node.config.__dict__) if node.config else None,
config=AltimateNodeConfig(**node.config.model_dump()) if node.config else None,
checksum=AltimateFileHash(
name=node.checksum.name if node.checksum else None,
checksum=node.checksum.checksum if node.checksum else None,
Expand Down Expand Up @@ -182,7 +183,9 @@ def _get_macro(self, macro: MacroNode) -> AltimateManifestMacroNode:
patch_path=macro.patch_path,
arguments=[AltimateMacroArgument(**arg.model_dump()) for arg in macro.arguments] if macro.arguments else None,
created_at=macro.created_at,
supported_languages=macro.supported_languages,
supported_languages=[AltimateSupportedLanguage(lang.value) for lang in macro.supported_languages]
if macro.supported_languages
else None,
)

def _get_exposure(self, exposure: ExposureNode) -> AltimateManifestExposureNode:
Expand Down