Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
some changes based on savin's comments.
- Added changes to task datastore for different reason : (todo) Decouple these - Added comments to SFN for reference. - Airflow DAG is no longer dependent on metaflow
- Loading branch information
Showing
7 changed files
with
357 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
from metaflow.plugins.airflow.airflow_utils import Workflow | ||
import base64 | ||
|
||
CONFIG = "{{{metaflow_workflow_compile_params}}}" | ||
|
||
dag = Workflow.from_json(CONFIG).compile() | ||
{{{AIRFLOW_UTILS}}} | ||
|
||
dag = Workflow.from_json(base64.b64decode(CONFIG).decode("utf-8")).compile() | ||
with dag: | ||
pass |
Oops, something went wrong.