-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dagster-airlift] [tutorial] fix readme parsing
- Loading branch information
Showing
13 changed files
with
88 additions
and
64 deletions.
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
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions
7
...ntal/dagster-airlift/examples/tutorial-example/tutorial_example/snippets/all_proxied.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
tasks: | ||
- id: load_raw_customers | ||
proxied: True | ||
- id: build_dbt_models | ||
proxied: True | ||
- id: export_customers | ||
proxied: True |
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions
19
...tal/dagster-airlift/examples/tutorial-example/tutorial_example/snippets/dags_truncated.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Dags file can be found at tutorial_example/airflow_dags/dags.py | ||
from pathlib import Path | ||
|
||
from airflow import DAG | ||
from dagster_airlift.in_airflow import proxying_to_dagster | ||
from dagster_airlift.in_airflow.proxied_state import load_proxied_state_from_yaml | ||
|
||
dag = DAG("rebuild_customers_list", ...) | ||
|
||
... | ||
|
||
# Set this to True to begin the proxying process | ||
PROXYING = False | ||
|
||
if PROXYING: | ||
proxying_to_dagster( | ||
global_vars=globals(), | ||
proxied_state=load_proxied_state_from_yaml(Path(__file__).parent / "proxied_state"), | ||
) |
7 changes: 7 additions & 0 deletions
7
...ntal/dagster-airlift/examples/tutorial-example/tutorial_example/snippets/dbt_proxied.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
tasks: | ||
- id: load_raw_customers | ||
proxied: False | ||
- id: build_dbt_models | ||
proxied: True | ||
- id: export_customers | ||
proxied: False |
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