-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dagster-fivetran] Fivetran managed elements implementation (#10543)
* [dagster-fivetran] Fivetran managed elements implementation * fix tox * lint * mypy * unused import * rm print * add cli
- Loading branch information
Showing
9 changed files
with
953 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
20 changes: 20 additions & 0 deletions
20
python_modules/libraries/dagster-fivetran/dagster_fivetran/cli.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,20 @@ | ||
import click | ||
|
||
try: | ||
from dagster_managed_elements.cli import apply_cmd, check_cmd | ||
|
||
@click.group() | ||
def main(): | ||
pass | ||
|
||
main.add_command(check_cmd) | ||
main.add_command(apply_cmd) | ||
|
||
|
||
except ImportError: | ||
|
||
@click.group( | ||
help="In order to use managed Fivetran config, the dagster-managed-elements package must be installed." | ||
) | ||
def main(): | ||
pass |
2 changes: 2 additions & 0 deletions
2
python_modules/libraries/dagster-fivetran/dagster_fivetran/managed/__init__.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,2 @@ | ||
from .reconciliation import FivetranManagedElementReconciler | ||
from .types import FivetranConnector, FivetranDestination |
Oops, something went wrong.