You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jeremy Lewi (JIRA)" <ji...@apache.org> on 2017/11/16 20:39:00 UTC
[jira] [Created] (AIRFLOW-1823) API get_task_info is incompatible
with manual runs created by UI
Jeremy Lewi created AIRFLOW-1823:
------------------------------------
Summary: API get_task_info is incompatible with manual runs created by UI
Key: AIRFLOW-1823
URL: https://issues.apache.org/jira/browse/AIRFLOW-1823
Project: Apache Airflow
Issue Type: Bug
Components: api
Affects Versions: Airflow 2.0
Environment: ubuntu
Airflow 1.9rc02
commit: https://github.com/apache/incubator-airflow/blob/master/airflow/www/api/experimental/endpoints.py#L126
Reporter: Jeremy Lewi
Priority: Minor
The API method [task_instance_info|https://github.com/apache/incubator-airflow/blob/master/airflow/www/api/experimental/endpoints.py#L126] doesn't work with manual runs created by the UI.
The UI creates dag runs with ids with sub second precision in the name. An example of a run created by the UI is
2017-11-16T20:23:32.045330
The endpoint for [task_instance_info|https://github.com/apache/incubator-airflow/blob/master/airflow/www/api/experimental/endpoints.py#L126] however assumes the dag run id is of the form '%Y-%m-%dT%H:%M:%S'.
Runs triggered via the CLI generate run ids with the form expected by the API.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)