Skip to content

Commit

Permalink
Update news_flash.py (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalyaalon authored Feb 14, 2024
1 parent b191bad commit eabcbb1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions airflow_server/dags/news_flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
task_id='update-news-flash'
)

with DAG('update-all-news-flash', **dag_kwargs, schedule_interval=None,
description='Update all news flash') as update_all_news_flash_dag:
CliBashOperator(
cmd='anyway-etl anyway-kubectl-exec python3 main.py '
'update-news-flash update --update_cbs_location_only',
task_id='update-all-news-flash'
)


with DAG('test-anyway-kubectl-exec', **dag_kwargs, schedule_interval=None) as test_anyway_kubectl_Exec:
CliBashOperator(
Expand Down

0 comments on commit eabcbb1

Please sign in to comment.