Is there a clean way to require the existence / nonnull-ness of an argument to a macro?
1 Like
Wonderful question! Right now the answer is no, but I’d love it if you could go and weigh in on this issue: [CT-459] [Feature] Extend Jinja macros to contain required arguments (and maybe type hints) · Issue #4999 · dbt-labs/dbt-core · GitHub
In that issue, you can also see an example of how I’ve gone about this in the past: