forked from astronomer/astronomer-cosmos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend DbtDocsLocalOperator with static flag (astronomer#759)
## Description <!-- Add a brief but complete description of the change. --> Extends the docsOperator to make use of dbt `--static` flag. The static flag is available from dbt 1.7> I decided to add the flag through `dbt_cmd_flags`. Other options could be a parameter or the `operator_args`. There is no official documentation page from DBT on the flag [yet](dbt-labs/docs.getdbt.com#4599). When they do add it, I can trim down our documentation and link directly to dbt. I contribute to learn and am appreciative of any feedback. ## Related Issue(s) closes astronomer#746 <!-- If this PR closes an issue, you can use a keyword to auto-close. --> <!-- i.e. "closes #0000" --> ## Breaking Change? <!-- If this introduces a breaking change, specify that here. --> ## Checklist - [x] I have made corresponding changes to the documentation (if required) - [x] I have added tests that prove my fix is effective or that my feature works --------- Co-authored-by: Tatiana Al-Chueyr <[email protected]> Co-authored-by: Justin Bandoro <[email protected]>
- Loading branch information
Showing
3 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters