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-604) Revert .first() to .one() for refresh_from_db
Date Sun, 30 Oct 2016 22:55:58 GMT

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

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

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

[AIRFLOW-604] Revert .first() to .one()

.one() enforces the integrity of airflow as we
expect
a tuple to be returned here. If not the database
is
inconsistent and airflow should error out.

Dear Airflow Maintainers,

.one() enforces the integrity of airflow as we
expect
a tuple to be returned here. If not the database
is
inconsistent and airflow should error out.

partially reverts: https://github.com/apache
/incubator-airflow/pull/1730

Closes #1858 from bolkedebruin/AIRFLOW-604


> Revert .first() to .one() for refresh_from_db
> ---------------------------------------------
>
>                 Key: AIRFLOW-604
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-604
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Bolke de Bruin
>
> https://github.com/apache/incubator-airflow/pull/1730
> introduced a non related .first() replacement of .one(). This affects the integrity of
airflow and should be reverted



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

Mime
View raw message