blob: 6e0e9d5c2426c4901a716c3bc0047657edfd4126 [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.