-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dbt profiles utilities #16889
Add dbt profiles utilities #16889
Conversation
The block resolution function and related tests are mostly a copy of what we already do for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a couple of comments/questions, but overall this LGTM!
CodSpeed Performance ReportMerging #16889 will not alter performanceComparing Summary
|
This module includes utilities for locating and loading dbt profiles from YAML. It also enables the resolution of block and variable references when the
PrefectDbtRunner
executes dbt commands by writing the resolved file to a temporary directory.At the moment, all block references resolve to calls to dbt's
env_var()
since blocks can contain secrets, and block values are stored as env vars. Variables are resolved directly to text.Checklist
<link to issue>
"mint.json
.