a
    ž˜ëj  ã                   @   s6   d Z ddlmZmZmZ ddlmZ edœdd„ZdS )z,Registration of custom, human-written hooks.é   )ÚCleanServerUrlSDKInitHookÚ
LoggerHookÚSplitPdfHook)ÚHooks)Úhooksc                 C   sf   t ƒ }tƒ }tƒ }|  |¡ |  |¡ |  |¡ |  |¡ |  |¡ |  |¡ |  |¡ |  |¡ dS )z·Add hooks by calling `hooks.register_<type_or>_hook` with an instance of that hook.

    Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance
    N)r   r   r   Zregister_sdk_init_hookZregister_before_request_hookZregister_after_success_hookZregister_after_error_hook)r   Zclean_server_url_hookZlogger_hookZsplit_pdf_hook© r   úf/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/unstructured_client/_hooks/registration.pyÚ
init_hooks   s    






r	   N)Ú__doc__Zcustomr   r   r   Útypesr   r	   r   r   r   r   Ú<module>   s   