airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Huang (JIRA)" <j...@apache.org>
Subject [jira] [Work started] (AIRFLOW-806) UI should properly ignore DAG doc when it is None
Date Wed, 25 Jan 2017 19:43:26 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Work on AIRFLOW-806 started by Daniel Huang.
--------------------------------------------
> UI should properly ignore DAG doc when it is None
> -------------------------------------------------
>
>                 Key: AIRFLOW-806
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-806
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: ui
>    Affects Versions: Airflow 1.7.1.3
>            Reporter: Daniel Huang
>            Assignee: Daniel Huang
>            Priority: Trivial
>
> If {{dag.doc_md = __doc__}}, but there are no docstrings on the file, the Graph view
will error with:
> {code}
> AttributeError: 'NoneType' object has no attribute 'strip'
> {code}
> The UI should just assume we have no docs to show for the DAG. I suspect user in AIRFLOW-625
ran into this error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message