dherincx
execute_ddls
new_ddl_exist
skip_on_upstream_skip = False
with Flow('bi_test_flow') as flow: # new DDLs (if any) ddls = new_ddls_to_run(loaded_files, os.listdir(DDL_PATH)) # # # execute new DDLs ONLY if they exist new_ddl_exist = do_new_ddl_scripts_exist(ddls) with case(new_ddl_exist, True): execute_ddls = execute_sql(ddls) dbt = dbt( command="dbt run -m anlyz_base.views", upstream_tasks=[execute_ddls], ) dbt_operations = dbt( command="dbt run-operation materialize_views" )
Kevin Kho
unexpected keyword argument: trigger
dbt_operations = dbt( command="dbt run-operation materialize_views", trigger=all_successful )
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.