Daniel Huang created AIRFLOW-806:
------------------------------------

             Summary: 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)

Reply via email to