https://github.com/hjkim-sun/airflow/tree/master

 

▲▲ Python 오퍼레이터에 op_args로 변수 할당하기 ▲▲

dags_python_with_op_args.py

 

▲▲ Python 오퍼레이터에 op_kwargs로 변수 할당하기 ▲▲

dags_python_with_op_kwargs.py

 

▲▲ Python Operator에서 Xcom 사용 ▲▲

dags_python_with_xcom_eg1.py

dags_python_with_xcom_eg2.py

 

▲▲ Bash Operator에서 xcom 사용 ▲▲

dags_bash_with_xcom.py

 

▲▲ python과 bash operator간에 xcom 변수사용 ▲▲

dags_bash_python_with_xcom.py

 

▲▲ Bash Operator에서 xcom 사용 ▲▲

dags_bash_with_variable.py

 

 

 

 

 

 

 

 

 

 

 

'Python > Airflow' 카테고리의 다른 글

[airfow] tsv파일을 10개 파일로 나누는 로직  (0) 2025.02.18
[airflow] csv 파일을 tsv파일로 변환  (0) 2025.02.18
n개의 수만큼 파일을 분할 하는 파이썬로직  (0) 2025.02.18
paramiko key처리  (0) 2025.02.11
sample  (0) 2025.02.11

+ Recent posts