-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add dbt 1.8 support #35
Conversation
from datapilot.core.platforms.dbt.constants import GENERIC | ||
from datapilot.core.platforms.dbt.constants import SINGULAR | ||
|
||
ManifestNode = Union[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RPCNode which was present in v11 isn't available here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this Nodes1?
docs=seed.docs.dict() if seed.docs else None, | ||
patch_path=seed.patch_path, | ||
build_path=seed.build_path, | ||
deferred=False, # seed.deferred isn't present in ManifestV12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@suryaiyer95 deferred isn't available in v12
tests seem to be failing : E UserWarning: Field "model_unique_id" has conflict with protected namespace "model_". |
raw_code, | ||
language, | ||
contract, | ||
) = ([], [], None, None, None, None, None, "", "", None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you do? Not readable this way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to put None. As list is mutable, wierd things can happen
@@ -8,7 +8,7 @@ def generate_ci_cd_report(insights_data): | |||
for insight in insights_data: | |||
print(divider) | |||
print(f"Project: {insight.package_name}") | |||
print(f"Model ID: {insight.model_unique_id}") | |||
print(f"Model ID: {insight.altimate_unique_id}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's revert this?
No description provided.