airflow-commits mailing list archives

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


ASF subversion and git services commented on AIRFLOW-337:

Commit 3079da06249d7ff87dfc4ed58c999f7b81f3159a in incubator-airflow's branch refs/heads/master
from [~bolke]
[;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:
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: models
>    Affects Versions: Airflow
>            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

View raw message