250x250
반응형
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 | 31 |
Tags
- integrated gradient
- UDF
- GCP
- flask
- login crawling
- chatGPT
- Retry
- hadoop
- API
- session 유지
- tensorflow text
- correlation
- top_k
- GenericGBQException
- 상관관계
- BigQuery
- 유튜브 API
- gather_nd
- youtube data
- airflow subdag
- XAI
- API Gateway
- TensorFlow
- Airflow
- spark udf
- Counterfactual Explanations
- 공분산
- subdag
- requests
- grad-cam
Archives
- Today
- Total
목록Retry (1)
데이터과학 삼학년
[Airflow] task별 개별 적으로 retry, timedelta 설정
Apache Airflow에서는 각 태스크(task)에 대한 retry 및 timedelta를 개별적으로 설정 가능 retry 및 timedelta는 DAG(Directed Acyclic Graph)에 정의된 각 태스크의 default_args 속성에서 설정 default_args 속성에는 모든 DAG 및 해당 태스크에 적용되는 기본 인수가 포함되는 형태인데, task안에서 오버라이딩(?) 하듯이 default_args를 재정의 해주면 됨~!!! from datetime import timedelta from airflow import DAG from airflow.operators.python_operator import PythonOperator default_args = { 'owner': 'air..
DevOps
2023. 3. 23. 12:00