You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
@classmethoddef_deserialize(cls, dct: Dict[str, int]):
# The serialized ParsedNodes do not differ from each other# in fields that would allow 'from_dict' to distinguis# between them.resource_type=dct["resource_type"]
ifresource_type=="model":
returnModelNode.from_dict(dct)
elifresource_type=="analysis":
returnAnalysisNode.from_dict(dct)
elifresource_type=="seed":
returnSeedNode.from_dict(dct)
elifresource_type=="sql":
returnSqlNode.from_dict(dct)
elifresource_type=="test":
if"test_metadata"indct:
returnGenericTestNode.from_dict(dct)
else:
returnSingularTestNode.from_dict(dct)
elifresource_type=="operation":
returnHookNode.from_dict(dct)
elifresource_type=="seed":
returnSeedNode.from_dict(dct)
elifresource_type=="snapshot":
returnSnapshotNode.from_dict(dct)
else:
returncls.from_dict(dct)
Is this a new bug in dbt-core?
Current Behavior
https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/contracts/graph/nodes.py
Expected Behavior
we need seed node only once
Steps To Reproduce
https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/contracts/graph/nodes.py
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: