Francis Addae
04/20/2022, 11:03 PM@job
def my_pipeline():
e = checkETL.check_sql_query()
#assert e == True
#run dbt Model
if __name__ == "__main__":
result = my_pipeline.execute_in_process()
# assert result.output_value ==True
Aabir Abubaker Kar
04/21/2022, 6:12 AM@job
def my_pipeline():
dbt_model_op(check_sql_query())
@op
def check_sql_query():
e = checkETL.check_sql_query()
return e
so now dbt_model_op
can check that the ETL (or any input) is validated and end the run (fail gracefully) if notFrancis Addae
04/21/2022, 5:38 PM