
    Ng                     :    d Z ddlmZmZmZmZ ddlmZ defdZdS )z,Registration of custom, human-written hooks.   )CleanServerUrlSDKInitHook
LoggerHook%SuggestDefiningUrlIf401AfterErrorHookSplitPdfHook)Hookshooksc                    t                      }t                      }t                      }t                      }|                     |           |                     |           |                     |           |                     |           |                     |           |                     |           |                     |           |                     |           |                     |           dS )zAdd 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   r   register_sdk_init_hookregister_before_request_hookregister_after_success_hookregister_after_error_hook)r   clean_server_url_hooksuggest_defining_url_hooklogger_hooksplit_pdf_hooks        c/var/www/html/ai-engine/env/lib/python3.11/site-packages/unstructured_client/_hooks/registration.py
init_hooksr      s     677 E G G,,K!^^N 
  !6777	  ---	  000 
&&~666 
%%n555	%%k222 
##$=>>>	##N333	##K00000    N)	__doc__customr   r   r   r   typesr   r    r   r   <module>r      s    2 2                 1e 1 1 1 1 1 1r   