Skip to content

Commit

Permalink
add load road_segments (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalyaalon authored Jan 10, 2024
1 parent f9bb7b3 commit 17190a0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions airflow_server/dags/road_segments.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from airflow import DAG
from airflow.utils.dates import days_ago

from anyway_etl_airflow.operators.cli_bash_operator import CliBashOperator


dag_kwargs = dict(
default_args={
'owner': 'airflow',
},
schedule_interval=None,
catchup=False,
start_date=days_ago(1),
)


with DAG('load-road-segments', **dag_kwargs) as load_road_segments:
CliBashOperator(cmd='anyway-etl anyway-kubectl-exec python3 main.py process road-segments',
task_id='load-road-segments'
)

0 comments on commit 17190a0

Please sign in to comment.