Skip to content

Commit

Permalink
check_new_csvs_subdag in branchpythonop
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Jul 3, 2024
1 parent 59e48a8 commit d2ad961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion echo-side/dags/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def list_new_csvs(file_path):

conditional_op = BranchPythonOperator(
task_id='conditional_op',
python_callable=lambda: 'check_new_csvs_op' if len(new_csvs) > 0 else 'end',
python_callable=lambda: 'check_new_csvs_subdag' if len(new_csvs) > 0 else 'end',
dag=dag,
)

Expand Down

0 comments on commit d2ad961

Please sign in to comment.