Coverage for airflow.www.app : 91%
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
|
#app.config = config
app=app, config={'CACHE_TYPE': 'filesystem', 'CACHE_DIR': '/tmp'})
app, name='Airflow', static_url_path='/admin', index_view=views.HomeView(endpoint='', url='/admin'), template_mode='bootstrap3', )
models.Chart, Session, name="Charts", category="Data Profiling")) models.KnownEvent, Session, name="Known Events", category="Data Profiling")) models.SlaMiss, Session, name="SLA Misses", category="Browse")) Session, name="Task Instances", category="Browse")) models.Log, Session, name="Logs", category="Browse")) jobs.BaseJob, Session, name="Jobs", category="Browse")) models.Pool, Session, name="Pools", category="Admin")) name='Configuration', category="Admin")) models.User, Session, name="Users", category="Admin")) models.Connection, Session, name="Connections", category="Admin")) models.Variable, Session, name="Variables", category="Admin"))
category='Docs', name='Documentation', url='http://pythonhosted.org/airflow/')) base.MenuLink(category='Docs', name='Github',url='https://github.com/airbnb/airflow'))
models.DagRun, Session, name="DAG Runs", category="Browse")) # Hack to not add this view to the menu
"""Integrate plugins to the context""" admin_views, flask_blueprints, menu_links) admin.add_view(v) app.register_blueprint(bp) admin.add_link(ml)
def jinja_globals(): 'hostname': socket.gethostname(), }
global app if not app: app = create_app(config) return app |