Coder Social home page Coder Social logo

airflow-chinese's Introduction

airflow-chinese

airflow本地UI汉化以及时区适配,针对1.10.0(非1.10.1最新)版本。

修改内容

jobs.py
  1. 将调度器的显示时间修改为本地时间,这样做主要是能配合前台显示为本地时间,方便查看。同时也能与日志匹配,否则日志会匹配不上。
models.py
  1. 将variable默认加密的部分注释掉,经试验,发现在worker里面如果使用前台添加的Variable,会报异常而无法使用。
  2. 修复修改为本地时间后,调度器一直报错找不到dag_run数据的问题
sqlalchemy.py
  1. 修改时区为本地
views.py + utils.py
  1. 添加几个查询的参数,为满足指定的查询需求使用
  2. 修复统计图表如果字段为空的累加问题
  1. 前端汉化

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.