blob: 9946860318c1e1c6d3147eae63030f0a367adfec [file] [log] [blame]
:mod:`airflow.contrib.hooks.cloudant_hook`
==========================================
.. py:module:: airflow.contrib.hooks.cloudant_hook
Module Contents
---------------
.. data:: log
.. py:class:: CloudantHook(cloudant_conn_id='cloudant_default')
Bases: :class:`airflow.hooks.base_hook.BaseHook`
Interact with Cloudant.
This class is a thin wrapper around the cloudant python library. See the
documentation `here <https://github.com/cloudant-labs/cloudant-python>`_.
.. method:: get_conn(self)
.. method:: db(self)
Returns the Database object for this hook.
See the documentation for cloudant-python here
https://github.com/cloudant-labs/cloudant-python.