airflow.providers.samba.hooks.samba
¶
Module Contents¶
Classes¶
Allows for interaction with a Samba server. |
- class airflow.providers.samba.hooks.samba.SambaHook(samba_conn_id=default_conn_name, share=None)[source]¶
Bases:
airflow.hooks.base.BaseHook
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.
- Parameters
- open_file(path, mode='r', buffering=-1, encoding=None, errors=None, newline=None, share_access=None, desired_access=None, file_attributes=None, file_type='file')[source]¶