Closed victorurbinajz closed 1 year ago
Hey! If you're adding contacts to your dbt models, you may want to check out the dbt-meshify package (specifically the add-contract command).
The scope of the dbt-codegen
package is generating code for use within your dbt project. Since LookML code is separate from a dbt project, I'm going to close this issue for now.
Describe the feature
Describe alternatives you've considered
This is my suggestion for the new macro:
{% macro generate_view_code_looker(model_names=[], upstream_descriptions=False, include_data_types=True) %}
{% if execute %}
{% endif %}
{% endmacro %}
dbt run-operation generate_view_code_looker --args '{"model_names": ["model_name"]}'
dbt run-operation generate_view_code_looker --args '{"model_names": ["model_name"]}' > sample_file.yml