blob: d44761a6b2771d2ee3d18b998e3253fa66f4afd7 [file] [log] [blame]
:mod:`airflow.contrib.hooks.cloudant_hook`
==========================================
.. py:module:: airflow.contrib.hooks.cloudant_hook
Module Contents
---------------
.. 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.