Open devmessias opened 1 month ago
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.
Attention: Patch coverage is 50.00000%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 68.42%. Comparing base (
1bad6b7
) to head (74b437e
).
Files with missing lines | Patch % | Lines |
---|---|---|
dbt_common/clients/jinja.py | 28.57% | 5 Missing :warning: |
dbt_common/exceptions/base.py | 80.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Can you add a unit test? It's not always possible, but its preferable. Also you need to run pre-commit run --all-files
to get the code checks to pass.
Yes, I can! I was just waiting for approval before spending time coding without knowing if the dbt-core team wanted that.
Done @gshank
But it seems there are other issues not related with this PR
hatch run lint:all (base)
cmd [1] | - python -m black .
All done! ✨ 🍰 ✨
119 files left unchanged.
cmd [2] | - python -m flake8 .
cmd [3] | - python -m mypy .
tests/unit/test_behavior_flags.py:11: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:12: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:24: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:25: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:30: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:35: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:36: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:41: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:66: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:83: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:84: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:98: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:99: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:157: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:173: error: Missing keys ("source", "description", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:179: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
tests/unit/test_behavior_flags.py:180: error: Missing keys ("source", "docs_url") for TypedDict "BehaviorFlag" [typeddict-item]
Hey @peterallenwebb , Would you mind taking a look at this PR?
resolves #206
Description
After this, a TypeError in render phase will show the node information
Checklist
changie new
to create a changelog entry