반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |
Tags
- PANDAS
- numpy
- c#
- SQL
- google apps script
- matplotlib
- Github
- dataframe
- PySpark
- 파이썬
- GIT
- math
- django
- list
- Kotlin
- Excel
- string
- PostgreSQL
- Tkinter
- Google Excel
- Google Spreadsheet
- Apache
- Python
- hive
- gas
- array
- Redshift
- Java
- Mac
Archives
- Today
- Total
목록PythonVirtualenvOperator (1)
달나라 노트
Airflow Operator : PythonVirtualenvOperator (airflow에서 python code 실행)
Airflow의 PythonVirtualenvOperator는 내가 정의해둔 Python 함수를 실행해주는 역할을 하는 operator입니다.일반 PythonOperator와 다른 점은 가상 환경에서 Python 함수를 실행할 수 있다는 것이며 따라서 어떤 특정 version의 library를 사용하고 싶을 때 유용합니다. 예시를 봅시다. from airflow import DAGdag = DAG( dag_id='test_dag', start_date=datetime.datetime(2022, 9, 27), schedule_interval='0 20 * * *')from airflow.operators.python import PythonVirtualenvOperator # 1def t..
Airflow/Airflow Operator
2025. 10. 18. 13:20