You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Tao Feng (JIRA)" <ji...@apache.org> on 2019/03/02 06:25:00 UTC
[jira] [Resolved] (AIRFLOW-3975) Handle null values in attr
renderers
[ https://issues.apache.org/jira/browse/AIRFLOW-3975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tao Feng resolved AIRFLOW-3975.
-------------------------------
Resolution: Fixed
> Handle null values in attr renderers
> ------------------------------------
>
> Key: AIRFLOW-3975
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3975
> Project: Apache Airflow
> Issue Type: Improvement
> Reporter: Josh Carp
> Assignee: Josh Carp
> Priority: Trivial
>
> Some renderers in `attr_renderers` raise unhandled exceptions when given null inputs. For example, the `python_callable` renderer raises an error if passed `None`. Some operators allow null values for this attribute, such as `TriggerDagRunOperator`. I think all renderers should handle null input by returning the empty string and not raising an exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)