Skip to content

Commit 2fe2c46

Browse files
committed
add docs for .gustyignore
1 parent e499af9 commit 2fe2c46

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

create-dag-args.qmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ See gusty's built-in parsers [here](https://github.com/pipeline-tools/gusty/blob
105105

106106
Will disable the creation of task groups from subfolders when set to `True`.
107107

108+
(Note that if you only want to ignore some subfolders, you can add a file called `.gustyignore` to those the subfolders you would like ignored.)
109+
108110
### `render_on_create`
109111

110112
Disabled by default. If you want any Jinja in your spec to rendered on creation, set to `True`. Note that this will process everything every time the DAG is processed, which by default in Airflow is every few minutes. In general you don't want this on.

task-groups.qmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,10 @@ Task groups folders serve a few powerful purposes at scale:
100100

101101
- They can help keep dependencies between sets of tasks easier to manage.
102102

103+
## Ignoring Subfolders
104+
105+
Sometimes you want gusty to disregard subfolders when creating a DAG. For this, there are two options.
106+
107+
If you want to ignore all subfolders, you can add `ignore_subfolders=True` as an argument to `create_dag`.
108+
109+
If you only want to ignore some subfolders, you can add a file called `.gustyignore` to those the subfolders you would like ignored.

0 commit comments

Comments
 (0)