You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/12/05 01:01:13 UTC
[airflow] branch master updated: Add 'headers' to template_fields
in HttpSensor (#12809)
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 <44...@users.noreply.github.com>
AuthorDate: Fri Dec 4 19:59:52 2020 -0500
Add 'headers' to template_fields in HttpSensor (#12809)
Co-authored-by: Zachary Climes <zc...@zclimes-DCH2.com>
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__(