-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Operation result #774
Operation result #774
Changes from 42 commits
e09f8bf
89ad5d6
2ae45ab
8cb3091
da107f3
b29fe7f
1e95657
612d88b
223a764
b232d7f
4f6cd0a
0c5e214
7abb9d9
0c62326
512493f
9c74375
2db41c5
7d27c1b
2c47a31
ef22e70
4f39ef6
8ca876a
e2c1cde
6f78e63
fcbc9d7
b26ac2c
2622194
1b03e36
9ec5d70
f1a6461
d0a7ee0
3d7ed8e
55d98f7
9324a2c
5216b51
726aaad
fda7013
15fe9a3
f6fb149
70da428
0dd2375
9b432b8
04ffaba
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{% operation get_catalog_data %} | ||
{% set catalog = dbt.get_catalog() %} | ||
{{ return(catalog) }} | ||
{% endoperation %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
import dbt.task.seed as seed_task | ||
import dbt.task.test as test_task | ||
import dbt.task.archive as archive_task | ||
import dbt.task.generate as generate_task | ||
|
||
import dbt.tracking | ||
import dbt.config as config | ||
|
@@ -414,6 +415,14 @@ def parse_args(args): | |
) | ||
seed_sub.set_defaults(cls=seed_task.SeedTask, which='seed') | ||
|
||
docs_sub = subs.add_parser('docs', parents=[base_subparser]) | ||
docs_subs = docs_sub.add_subparsers() | ||
# it might look like docs_sub is the correct parents entry, but that | ||
# will cause weird errors about 'conflicting option strings'. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @drewbanin should this be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I was thinking There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yup, I'll fix the catalog -> docs. Is this actually a "docs task"? I assume the point of having |
||
generate_sub = docs_subs.add_parser('generate', parents=[base_subparser]) | ||
generate_sub.set_defaults(cls=generate_task.GenerateTask, | ||
which='generate') | ||
|
||
sub = subs.add_parser('test', parents=[base_subparser]) | ||
sub.add_argument( | ||
'--data', | ||
|
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.
love this