Skip to content

Instantly share code, notes, and snippets.

@esenthil2018
Created May 26, 2022 02:48
Show Gist options
  • Save esenthil2018/c8c622c56d640bf8a262a6cb3b17a4e2 to your computer and use it in GitHub Desktop.
Save esenthil2018/c8c622c56d640bf8a262a6cb3b17a4e2 to your computer and use it in GitHub Desktop.
import os
directory = lineapy.to_pipeline(
[train_art.name,test_art.name,y_art.name, model_art.name],
framework = 'AIRFLOW',
pipeline_name = "titanic_pipeline",
dependencies = {'titanic_pipeline_decision_tree_titanic':{'titanic_pipeline_train_data','titanic_pipeline_test_data','titanic_pipeline_y'}},
output_dir = os.environ.get("AIRFLOW_HOME","~/airflow")+"/dags")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment