SambaHook

Samba

Allows for interaction with a Samba server.

View on GitHub

Last Updated: Oct. 23, 2022

Access Instructions

Install the Samba provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

samba_conn_idThe connection id reference.
shareAn optional share name. If this is unset then the “schema” field of the connection is used in its place.

Documentation

Allows for interaction with a Samba server.

The hook should be used as a context manager in order to correctly set up a session and disconnect open connections upon exit.

Was this page helpful?