o
    ÚtBhÛ  ã                   @   s   G d d„ de ƒZdS )c                   @   s    e Zd ZdZdd„ Zdd„ ZdS )ÚHttpCallBackzÙAn interface for  the callback to be called before and after the
    HTTP call for an endpoint is made.

    This class should not be instantiated but should be used as a base class
    for HttpCallBack classes.

    c                 C   ó   t dƒ‚)zÖThe controller will call this method before making the HttpRequest.

        Args:
            request (HttpRequest): The request object which will be sent
                to the HttpClient to be executed.
        ú%This method has not been implemented.©ÚNotImplementedError)ÚselfÚrequest© r   úq/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/square/http/http_call_back.pyÚon_before_request   s   zHttpCallBack.on_before_requestc                 C   r   )z¦The controller will call this method after making the HttpRequest.

        Args:
            http_response (HttpResponse): The HttpResponse of the API call.
        r   r   )r   Úhttp_responser   r   r	   Úon_after_response   s   zHttpCallBack.on_after_responseN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   r   r   r   r	   r      s    
r   N)Úobjectr   r   r   r   r	   Ú<module>   s   