Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

instantiate MACRO_DEBUGGING global for dbt #555

Merged
merged 3 commits into from
May 5, 2023

Conversation

dlawin
Copy link
Contributor

@dlawin dlawin commented May 5, 2023

Without setting this flag, we're seeing an exception in dbt 1.5

Assuming it will not hurt earlier versions to set it

  File "/Users/dan/Library/Caches/pypoetry/virtualenvs/data-diff-gej9eYRL-py3.10/lib/python3.10/site-packages/dbt/clients/jinja.py", line 102, in _compile
    macro_debugging = get_flags().MACRO_DEBUGGING
AttributeError: 'Namespace' object has no attribute 'MACRO_DEBUGGING'

@dlawin dlawin added bug Something isn't working --dbt Issues/features related to the dbt integration labels May 5, 2023
@dlawin dlawin self-assigned this May 5, 2023
@dlawin
Copy link
Contributor Author

dlawin commented May 5, 2023

I tested previous dbt versions

@dlawin dlawin merged commit 7f5d9e8 into datafold:master May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
--dbt Issues/features related to the dbt integration bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant