airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] r39132 commented on a change in pull request #3946: [AIRFLOW-3062] Add Qubole in integration docs
Date Tue, 25 Sep 2018 23:31:05 GMT
r39132 commented on a change in pull request #3946: [AIRFLOW-3062] Add Qubole in integration
docs
URL: https://github.com/apache/incubator-airflow/pull/3946#discussion_r220375813
 
 

 ##########
 File path: airflow/contrib/sensors/qubole_sensor.py
 ##########
 @@ -75,13 +67,45 @@ def poke(self, context):
 
 
 class QuboleFileSensor(QuboleSensor):
+    """
+    Wait for a file or folder to be present in your cloud storage
+    and checks for it's presence via QDS APIs
+
+    :param qubole_conn_id: Connection id which consists of qds auth_token
+    :type qubole_conn_id: string
+    :param data: a JSON object containing payload, whose presence needs to be checked
+        Check this `example <https://github.com/apache/incubator-airflow/blob/master\
+        /airflow/contrib/example_dags/example_qubole_sensor.py>`_ for sample payload
+        structure.
+    :type data: a JSON object
+
+    .. note:: Both ``data`` and ``qubole_conn_id`` fields are template-supported. You can
 
 Review comment:
   Both ``data`` and ``qubole_conn_id`` fields support templating. You can also use ``.txt``
files for template-driven use cases.

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


With regards,
Apache Git Services

Mime
View raw message