airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-337) VariableJsonAccessor and VariableAccessor do not have __repr__
Date Thu, 14 Jul 2016 18:09:20 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15377895#comment-15377895
] 

ASF subversion and git services commented on AIRFLOW-337:
---------------------------------------------------------

Commit 3079da06249d7ff87dfc4ed58c999f7b81f3159a in incubator-airflow's branch refs/heads/master
from [~bolke]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=3079da0 ]

[AIRFLOW-337] Add __repr__ to VariableAccessor and VariableJsonAccessor

The VariableJsonAccessor and VariableAccessor were missing the __repr__
function that leads to a VariableError when printing out the context
being passed to for example a PythonOperator.


> VariableJsonAccessor and VariableAccessor do not have __repr__
> --------------------------------------------------------------
>
>                 Key: AIRFLOW-337
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-337
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: models
>    Affects Versions: Airflow 1.7.1.3
>            Reporter: Bolke de Bruin
>
> Both VariableAccessor and VariableJsonAccessor do not expose __repr__ which leads to
issues like ValueErrors. The example_python_operator dag exposes this error but never gets
run by the backfill tests do to another bug which will be fixed separately.



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

Mime
View raw message