blob: c4661822ef3d7e8087df198c6ab0b71b046a823f [file] [log] [blame]
:mod:`airflow.contrib.hooks.fs_hook`
====================================
.. py:module:: airflow.contrib.hooks.fs_hook
Module Contents
---------------
.. py:class:: FSHook(conn_id='fs_default')
Bases: :class:`airflow.hooks.base_hook.BaseHook`
Allows for interaction with an file server.
Connection should have a name and a path specified under extra:
example:
Conn Id: fs_test
Conn Type: File (path)
Host, Schema, Login, Password, Port: empty
Extra: {"path": "/tmp"}
.. method:: get_conn(self)
.. method:: get_path(self)