Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cdmikechen/airflow-chinese
airflow UI 汉化以及时区适配
https://github.com/cdmikechen/airflow-chinese
Last synced: 26 days ago
JSON representation
airflow UI 汉化以及时区适配
- Host: GitHub
- URL: https://github.com/cdmikechen/airflow-chinese
- Owner: cdmikechen
- Created: 2018-10-23T08:21:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T09:09:18.000Z (over 5 years ago)
- Last Synced: 2024-11-12T17:49:59.009Z (3 months ago)
- Language: Python
- Homepage:
- Size: 307 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# airflow-chinese
airflow本地UI汉化以及时区适配,针对1.10.0(非1.10.1最新)版本。
#### 修改内容
###### jobs.py1. 将调度器的显示时间修改为本地时间,这样做主要是能配合前台显示为本地时间,方便查看。同时也能与日志匹配,否则日志会匹配不上。
###### models.py
1. 将variable默认加密的部分注释掉,经试验,发现在worker里面如果使用前台添加的Variable,会报异常而无法使用。
2. 修复修改为本地时间后,调度器一直报错找不到dag_run数据的问题###### sqlalchemy.py
1. 修改时区为本地###### views.py + utils.py
1. 添加几个查询的参数,为满足指定的查询需求使用
2. 修复统计图表如果字段为空的累加问题###### www.templates 和 www.static
1. 前端汉化