This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new c1cd504  Add 'headers' to template_fields in HttpSensor (#12809)
c1cd504 is described below

commit c1cd50465c5473bc817fded5eeb4c425a0529ae5
Author: zclimes <[email protected]>
AuthorDate: Fri Dec 4 19:59:52 2020 -0500

    Add 'headers' to template_fields in HttpSensor (#12809)
    
    Co-authored-by: Zachary Climes <[email protected]>
    
    closes: #12796
---
 airflow/providers/http/sensors/http.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/providers/http/sensors/http.py 
b/airflow/providers/http/sensors/http.py
index e7c1e02..15de41f 100644
--- a/airflow/providers/http/sensors/http.py
+++ b/airflow/providers/http/sensors/http.py
@@ -68,7 +68,7 @@ class HttpSensor(BaseSensorOperator):
         depends on the option that's being modified.
     """
 
-    template_fields = ('endpoint', 'request_params')
+    template_fields = ('endpoint', 'request_params', 'headers')
 
     @apply_defaults
     def __init__(

Reply via email to