Skip to content
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

feat: add flags to json schema #146

Merged
merged 6 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 75 additions & 1 deletion schemas/latest/dbt_project-latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,80 @@
"docs-paths": {
"$ref": "#/$defs/array_of_strings"
},
"flags": {
"type": "object",
"properties": {
"cache_selected_only": {
"type": "boolean"
},
"debug": {
"type": "boolean"
},
"fail_fast": {
"type": "boolean"
},
"indirect_selection": {
"type": "string"
},
"log_format": {
"type": "string"
},
"log_format_file": {
"type": "string"
},
"log_level": {
"type": "string"
},
"log_level_file": {
"type": "string"
},
"partial_parse": {
"type": "boolean"
},
"populate_cache": {
"type": "boolean"
},
"printer_width": {
"type": "integer"
},
"require_explicit_package_overrides_for_builtin_materializations": {
"type": "boolean"
},
"require_resource_names_without_spaces": {
"type": "boolean"
},
"send_anonymous_usage_stats": {
"type": "boolean"
},
"source_freshness_run_project_hooks": {
"type": "string"
joellabes marked this conversation as resolved.
Show resolved Hide resolved
},
"static_parser": {
"type": "boolean"
},
"use_colors": {
"type": "boolean"
},
"use_colors_file": {
"type": "boolean"
},
"use_experimental_parser": {
"type": "boolean"
},
"version_check": {
"type": "boolean"
},
"warn_error": {
"type": "boolean"
},
"warn_error_options": {
"type": "object"
},
"write_json": {
"type": "boolean"
}
}
},
"log-path": {
"type": "string"
},
Expand Down Expand Up @@ -1035,4 +1109,4 @@
"type": "string"
}
}
}
}
3 changes: 3 additions & 0 deletions tests/latest/valid/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ name: 'test'
# This setting configures which "profile" dbt uses for this project.
profile: 'test'

flags:
require_explicit_package_overrides_for_builtin_materializations: True

# These configurations specify where dbt should look for different types of files.
# The `model-paths` config, for example, states that models in this project can be
# found in the "models/" directory. You probably won't need to change these!
Expand Down
Loading