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
Directly from dbt Cloud IDE:
08:54:33 Traceback (most recent call last):
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/cli/requires.py", line 223, in wrapper
result, success = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/cli/requires.py", line 133, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/cli/requires.py", line 335, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/cli/requires.py", line 362, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/cli/requires.py", line 414, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/cli/requires.py", line 430, in wrapper
setup_manifest(
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/cli/requires.py", line 479, in setup_manifest
ctx.obj["manifest"] = parse_manifest(
^^^^^^^^^^^^^^^
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/parser/manifest.py", line 2172, in parse_manifest
manifest = ManifestLoader.get_full_manifest(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/parser/manifest.py", line 330, in get_full_manifest
manifest = loader.load()
^^^^^^^^^^^^^
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/parser/manifest.py", line 490, in load
self.process_docs(self.root_project)
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/parser/manifest.py", line 1299, in process_docs
_process_docs_for_node(ctx, node, self.manifest)
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/parser/manifest.py", line 1765, in _process_docs_for_node
column.doc_blocks = _get_doc_blocks(column.description, manifest, node.package_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/venv/dbt-sha-fea52c8b2d6f9cd66a57fc334c198c23887d533f/lib/python3.11/site-packages/dbt/parser/manifest.py", line 1731, in _get_doc_blocks
and node.node.name == "doc"
^^^^^^^^^^^^^^
AttributeError: 'Getattr' object has no attribute 'name'
Environment
- OS: N/A
- Python: 3.11
- dbt: 1.10.0-a1
Which database adapter are you using with dbt?
bigquery
Additional Context
I believe this might be an un-expected edge-case/behaviour and if that is the case, then please just confirm that.
The text was updated successfully, but these errors were encountered:
Is this a new bug in dbt-core?
Current Behavior
I believe there is a simple bug in the following line when interacting with an edge case involving templated doc blocks.
dbt-core/core/dbt/parser/manifest.py
Line 1675 in 5f873da
This crashes the parsing of the manifest.
Expected Behavior
The project to be able to parse and use templated doc blocks as before.
Steps To Reproduce
Create templated doc block
Use in model docs as follows:
Relevant log output
Environment
Which database adapter are you using with dbt?
bigquery
Additional Context
I believe this might be an un-expected edge-case/behaviour and if that is the case, then please just confirm that.
The text was updated successfully, but these errors were encountered: