-
Notifications
You must be signed in to change notification settings - Fork 8
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
Feature: ability to customize output via templates #7
Comments
I hear you on this. Customizable yaml formatting was something that was briefly mentioned during our initial development work. The dumping to yaml happens here with PyYAML's There are some options that can be fed to that function. For example, we currently use the As for the project-level macro idea, how do you envision the implementation? |
Tbh, no idea. I am not familiar with dbt internals, nor Python. But I did see that I imagined it being a jinja template that generates produces a file (YAML). |
Earlier I read this issue and thought about it for a while. My current opinion is that formatting |
@Gregory108 but it's not just about formatting, it's about setting the defaults too. |
@moltar What things are defaults but not formatting? |
Please take a look at my example. I have added:
|
@moltar Imo, the job of this package is to fill documentation with what the program can know from data+existing code. |
It'd be nice to be able to customize the output template to set the defaults.
Right now the output looks like:
But I'd like it to be (to match our org style):
Maybe a project-level Jinja macro could be used?
The text was updated successfully, but these errors were encountered: