Skip to content

Commit

Permalink
update to use Docs object
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Jul 27, 2022
1 parent a75b2c0 commit 734b642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/dbt/parser/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from dbt.context.context_config import ContextConfig
from dbt.contracts.graph.manifest import Manifest
from dbt.contracts.graph.parsed import HasUniqueID, ManifestNodes
from dbt.contracts.graph.unparsed import UnparsedNode
from dbt.contracts.graph.unparsed import UnparsedNode, Docs
from dbt.exceptions import ParsingException, validator_error_message, InternalException
from dbt import hooks
from dbt.node_types import NodeType
Expand Down Expand Up @@ -290,7 +290,7 @@ def update_parsed_node_config(
# If we have docs in the config, copy to node level, for backwards
# compatibility with earlier node-only config.
if "docs" in config_dict and config_dict["docs"]:
parsed_node.docs = config_dict["docs"]
parsed_node.docs = Docs(config_dict["docs"])

# unrendered_config is used to compare the original database/schema/alias
# values and to handle 'same_config' and 'same_contents' calls
Expand Down

0 comments on commit 734b642

Please sign in to comment.