check_model_has_meta_keys
check doesn't work with meta keys with a list of values
#344
Closed
LoekBotman
started this conversation in
General
Replies: 1 comment 1 reply
-
@LoekBotman Looks like a bug to me. Added a fix in #345 and released in 1.10.1. Let me know if it works for you! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm considering using the dbt-bouncer package in our dbt project to enforce our dbt conventions and I really like it so far. I just ran into one issue that seems to be a bug in the
check_model_has_meta_keys
check.If I add the following meta data to my dbt model:
And I define my dbt-bouncer check like this:
I get an error saying that my model is missing the key

key_2
.I expect that it's related to row 82 in the
src/dbt_bouncer/utils.py
file in (the functionfind_missing_meta_keys
).I wonder if it's indeed a bug or if there's a reason why it should fail. And if it's a bug, is it something you can fix in a later version?
Beta Was this translation helpful? Give feedback.
All reactions