You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2020/01/19 23:37:07 UTC

[jira] [Closed] (AIRFLOW-2081) Allow response_check of HTTPOperator to access context

     [ https://issues.apache.org/jira/browse/AIRFLOW-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Potiuk closed AIRFLOW-2081.
---------------------------------
    Resolution: Won't Fix

I am closing some old issues that are not relevant any more. Please let me know if you want to reopen it.

> Allow response_check of HTTPOperator to access context
> ------------------------------------------------------
>
>                 Key: AIRFLOW-2081
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2081
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: operators
>    Affects Versions: 2.0.0
>            Reporter: Giovanni Paolo Gibilisco
>            Priority: Minor
>              Labels: easyfix
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> It would be useful to allow response_check of the HTTPOperator to access the context so that users can work on the response and push some of the content to Xcom. Currently the only option is to forward the entier response via xcom_push_flag. This  is unconvenient if only part of the response is relevant. 
>  
> Could be implemented by adding the context as argument to the invocation of the response_check function in [https://github.com/apache/incubator-airflow/blob/master/airflow/operators/http_operator.py]  following the pattern used in the PythonOperator.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)