简体   繁体   English

API 端点 - /xcomEntries/{xcom_key} - 不返回值

[英]API Endpoints - /xcomEntries/{xcom_key} - doesn't return value

Apache Airflow version: 2.0.0 Apache Airflow 版本:2.0.0

What happened:发生了什么:

  • Using endpoint /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/xcomEntries/{xcom_key} I got Response Body but without value entry.使用端点/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/xcomEntries/{xcom_key}我得到了响应正文,但没有值条目。 Like:喜欢:
{
  "dag_id": "string",
  "execution_date": "string",
  "key": "string",
  "task_id": "string",
  "timestamp": "string"
}

Instead of:代替:

{
  "dag_id": "string",
  "execution_date": "string",
  "key": "string",
  "task_id": "string",
  "timestamp": "string",
  "value": "string"
}

The exact value by defined key exists.已定义键的确切值存在。

Noticed as a bug: https://github.com/apache/airflow/issues/13676注意到一个错误: https://github.com/apache/airflow/issues/13676

Will be fixed in 2.0.1 version.将在2.0.1版本中修复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM