-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6fe6ac
commit 845e584
Showing
9 changed files
with
892 additions
and
769 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
import os | ||
|
||
from dagster import repository | ||
from dagster import job, repository, Definitions | ||
|
||
from dagster_meltano import load_jobs_from_meltano_project | ||
from dagster_meltano import load_jobs_from_meltano_project, meltano_resource | ||
|
||
MELTANO_PROJECT_DIR = os.getenv("MELTANO_PROJECT_ROOT", os.getcwd()) | ||
MELTANO_BIN = os.getenv("MELTANO_BIN", "meltano") | ||
|
||
|
||
@repository | ||
def meltano_jobs(): | ||
return [load_jobs_from_meltano_project(MELTANO_PROJECT_DIR)] | ||
return [ | ||
load_jobs_from_meltano_project( | ||
meltano_project_dir=MELTANO_PROJECT_DIR, | ||
retries=1, | ||
) | ||
] |
Empty file.
Oops, something went wrong.