ashb commented on a change in pull request #4890: [AIRFLOW-4048] HttpSensor 
provide-context to response_check
URL: https://github.com/apache/airflow/pull/4890#discussion_r293751103
 
 

 ##########
 File path: airflow/sensors/http_sensor.py
 ##########
 @@ -31,6 +31,15 @@ class HttpSensor(BaseSensorOperator):
     HTTP Error codes other than 404 (like 403) or Connection Refused Error
     would fail the sensor itself directly (no more poking).
 
+    The response check can access the template context by passing 
``provide_context=True`` to the operator:
 
 Review comment:
   ```suggestion
       The response check can access the template context by passing 
``provide_context=True`` to the operator::
   ```
   
   The double `::` makes the next block a code-block

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to